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.
http://rubydoc.info/gems/watir-webdriver/0.3.3/Watir/HTMLElement Joe On Sep 14, 9:41 am, al3kc <[email protected]> wrote: > 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? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
