RE: Advise on hierarchy for element locators
Hi, whilst I am aware of how to search for the different elements on a page, e.g.by xpath, id, css etc, I was after some advise as to which hierarchy to use and why? E.g. should we use xpath locators before reverting to searching for the id?
Any help would be appreciated.