Can I DevTools?

Share this post

Tips & Tricks #4

canidevtools.substack.com

Tips & Tricks #4

Can I get the XPath of a node in the DOM tree?

Pankaj Parashar
Jun 30, 2022
Share this post

Tips & Tricks #4

canidevtools.substack.com

Chrome

  1. Inspect the element > Right click on the node in the DOM tree > Copy > Copy full XPath.

Screenshot of the copy xpath option. More info.

Firefox

  1. Inspect element > Right click on the node in the DOM tree > Copy > XPath.

Screenshot of the copy xpath option. More info.

Edge

  1. Inspect element > Right click on the node in the DOM tree > Copy > Copy full XPath.

Screenshot of the copy xpath option. More info.

Safari

  1. Inspect element > Right click on the node in the DOM tree > Copy > XPath.

Screenshot of the copy xpath option. More info.

Opera

  1. Inspect the element > Right click on the node in the DOM tree > Copy > Copy full XPath.

Screenshot of the copy xpath option. More info.

Thanks for reading Can I DevTools?! Subscribe for free to receive new posts and support my work.

Share this post

Tips & Tricks #4

canidevtools.substack.com
Previous
Next
Comments
TopNew

No posts

Ready for more?

© 2023 Pankaj Parashar
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing