Finding an elements XPath using IE Developer tool

Wesly picture Wesly · Jan 2, 2010 · Viewed 157k times · Source

Is there a way to find an element's XPath using IE Developer Tool?

Answer

mynameiscoffey picture mynameiscoffey · Jan 27, 2011

If your goal is to find CSS selectors you can use MRI (once MRI is open, click any element to see various selectors for the element):

http://westciv.com/mri/

For Xpath:

http://functionaltestautomation.blogspot.com/2008/12/xpath-in-internet-explorer.html