使用 IE Developer 工具查找元素 XPath [英] Finding an elements XPath using IE Developer tool
本文介绍了使用 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):
对于 Xpath:
http://functionaltestautomation.blogspot.com/2008/12/xpath-in-internet-explorer.html
这篇关于使用 IE Developer 工具查找元素 XPath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文