On Wed, Sep 14, 2011 at 5:41 PM, al3kc <aleks.kiev...@gmail.com> 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? > > Even though the SVG elements aren't part of the API, you can still access them as generic elements (at least in watir-webdriver): https://gist.github.com/1218879 Jari -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com