Xpath0r
Get robust relative xpaths
Stats
Other platforms
Summary
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")]
Safety
Risk impact
Xpath0r is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install Xpath0r if you trust the publisher.
Risk likelihood
Xpath0r may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.
Similar extensions
Here are some Chrome extensions that are similar to Xpath0r: