Hello guys,
I am having trouble clicking on an element which is under the svg tag.
Have to click on an element which is under a SVG tag but there are several layers within it as shown below. (The element concerning me is highlighted with Red)
Upon expanding the g tag, it has several other tags within it:
And when I finally expand it, the element that i want to click has the following attributes as shown below in the highlighted part:
My xpath is as follows:
//[local-name()=“svg”]/[local-name()=“g” and @class=“sapHpaJourneyChartChannelData”]/[local-name()=“g” and @class=“sapHpaJourneyChannelData”]/[local-name()=“g” and @class=“sapHpaJourneyItemIconGroup” and @x=“110” and @y=“178.801703163017”]
which is unable to locate the xpath element. Since there is no id associated with this SVG tag, i am only taking the class attribute and then the coordinates of the element.
Am I missing out here on something?
Thanks in advance,
Saumil