DevTools Tips

Categories: Supported by:

Copy an element's XPath expression

You can easily copy an element's XPath expression from DevTools. This is useful if you need this expression for an automated test for example.

Note that you can then use this xpath expression to find elements again in DevTools.

Screenshot of the Elements panel in Edge showing the copy xpath option in the contextual menu