I need to determine the full xpath to reach the 3rd path element displayed here:
<div id="myID">
<div>
<svg version="1.1">
<g>
<g>
<g>
<g>
<g>
<g>
<path fill="green">
<path fill="orange">
<path fill-opacity="0.2">
... plus all relevant closing tags.
I need to use this xpath in conjunction with Selenium-Webdriver. By looking at this example: Selenium WebDriver: clicking on elements within an SVG using XPath I understand I need need to use either the local-name() or name() methods to interact with the SVG element but I am not sure how to incorporate the initial nested divs and also reach through the nested g elements with no IDs or other information to work with.
Thank you in advance if you are able to help!