How to write xpath for SVG elements?

SVG element support

  • As we all know that SVG elements doesn’t support the standard XPath pattern. So most of the times we struggle while writing the XPath for SVG elements. But now SelectorsHub has solved this problem. You just type // and it will suggest the correct syntax and you can build XPath without wasting anytime.

Leave a Comment

Your email address will not be published. Required fields are marked *