使用IE Developer工具查找元素XPath [英] Finding an elements XPath using IE Developer tool

查看:81
本文介绍了使用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

这篇关于使用IE Developer工具查找元素XPath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆