You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Watir General
Hi,
I have the following svg element in the page
<table>
<div>
<svg>
<rect>
<rect>
I want to access rect elements. I use element_by_xpath but i can only
access "//table/div" element. When I use "//table/div/svg" I get
error that elemt does not exists. Thought when I do
element_by_xpath( "//table/div").html I can see svg and rect elements
in output. Does watir support svg at all? Any ideas how to access svg
in other way?
joedio
unread,
Sep 14, 2011, 8:48:28 PM9/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Watir General
I don't think Watir does. Even watir-webdriver which supports a wider
set of HTML tags doesn't list <svg> or <rect> as a supported HTML tag.