使用IE Developer工具查找元素XPath

问题描述:

有没有办法使用IE Developer Tool查找元素的XPath?

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

如果你的目标是找到CSS选择器您可以使用MRI(一旦MRI打开,单击任何元素以查看元素的各种选择器):

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/

对于Xpath:

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