Xpath0r

提供方: Kevin Bougé
0
开发者工具 22 位用户

插件简介

Get robust relative xpaths
When clicking an element on a web page, this extension tries to provide a choice of robust relative xpath expressions which are displayed in the console. It also tries to provide a trust score so that unexperienced people can pick one of the best xpath expressions.

For example, for an h1 element on the page:

81% - //p[contains(@class, "h1")]
58% - //p[@role="heading" and contains(@class, "h1")]
50% - //p[contains(@role, "heading") and contains(@class, "h1")]

Or for a link:

90% - //a[@data-hash-id="skype-for-android"]
87% - //a[contains(@data-hash-id, "android")]
81% - //a[contains(@href, "android") and contains(@data-hash-id, "android")]
79% - //a[contains(@class, "learnMore") and contains(@href, "android")]
79% - //a[contains(@class, "learnMore") and contains(@data-hash-id, "android")]
77% - //a[contains(@class, "showOverlay") and contains(@data-hash-id, "android")]
71% - //a[contains(@href, "download") and contains(@data-hash-id, "android")]
50% - //a[contains(@href, "android") and contains(@data-hash-id, "for")]

其他信息

ID nbbcbecdpkoglhojicjbmacepbgecnfp 版本 1.5.0 上次更新日期 2015年3月2日 大小 23.89KiB 语言 支持1 种语言 开发者 适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

Xpath0r Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效