internet-explorer - 使用IE Developer工具查找XPath元素

标签 internet-explorer xpath ie-developer-tools

有没有一种方法可以使用IE Developer Tool查找元素的XPath?

最佳答案

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

http://westciv.com/mri/

对于Xpath:

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

关于internet-explorer - 使用IE Developer工具查找XPath元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1990225/

相关文章:

javascript - 嵌入式 JavaScript 无法在 IE 10 或 11 中运行(在 Chrome 和 Firefox 中运行良好)

javascript - 为什么这个表达式在 Firefox/Chrome 中返回 true,而在 IE 中返回 false?

python - 使用 xpath 循环特定 div 内的所有 <h2> 标签

xml - XPath 2.0 - 选择 2 个元素之间的所有节点

javascript - 如何让 JavaScript 进入 IE 内置调试​​器 (F12) 而不是 Visual Studio 调试器?

html - IE8 的开发者工具栏可以确定hasLayout 吗?

jquery - Internet Explorer 8 及更低版本的问题

asp.net - 远程连接到 WebDev.WebServer.exe

php - 按字典顺序比较XPath中的两个字符串

html - CSS -> IE8填充背景:none child with WHITE