As we all know that SVG elements don’t support the standard XPath pattern. So most of the time 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 any time.
You can view the below attached video if you face any issue related to it