Capturing SVG xpath values

Hi team,

I am having problems capturing the xpath value which is nested in SVG as follows

I have tried the following:

  1. //[@id=“__cloud4-container”]/ ]/div/[local-name()=“svg”]/[local-name()=“g” and @id=“wordCloud”]

  2. //div[@id=“__cloud4-container”]/div/*[local-name()=“svg”]

  3. //[local-name()=“svg”]//[local-name()=“g” and @id=“wordCloud”]

But it still throws an error. Any suggestions?

Best Regards,
Saumil

1 Like