Skip to main content

I’ve the below menu structure in MS Edge (IE based website) where I need to click on the triangles to open their menu, lets take the example for Departments

Below is the inspected element for the triangle button of Departments. How to create a generic xPath so that it works even if there is an addition or removal of items in the list & Departments sequence gets changed

 

So here, img tag is for the triangle icon but it doesn’t have any identifier for Departments. span has the identifier but it’s pointing to the label only

Be the first to reply!

Reply