Re: [wtr-general] Does watir support svg

2011-09-15 Thread Jari Bakken
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

[wtr-general] Re: Link with javascript

2011-09-15 Thread Super Kevy
Did you try the image click? On Sep 14, 8:21 am, Anne Kristine King apo...@gmail.com wrote: Hi Everyone, Need help in figuring out how to click the link below with the given html :       tbodytr         td style=padding-bottom: 8px; class=loginStyle vAlign=bottom width=120

[wtr-general] Re: Watir-Webdriver IE issue (UnexpectedJavascriptError: Unable to find element with xpath)

2011-09-15 Thread Mike
Super Kevy, Thanks. Your code works fine with webdriver in that example. Still can't get it to work with our app :/ At least I know it has nothing to do with the JSP. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Re: undefined method click_no_wait

2011-09-15 Thread Jarmo Pertman
It seems to me that you're using Watir-WebDriver where #click_no_wait is indeed an undefined method. This method exists in plain Watir though. I'm not sure of how to handle these cases in Watir-WebDriver without using Threads. Hopefully there's some better solution in the API :) Jarmo Pertman

[wtr-general] Re: Watir-Webdriver IE issue (UnexpectedJavascriptError: Unable to find element with xpath)

2011-09-15 Thread jw
Try (as debugging, not as solution) putting a sleep right before the select. Will let you know if it's a timing issue or an actual 'not found' issue. You may have to introduce waiting. This is an area that concerns me : ( -- Before posting, please read http://watir.com/support. In short:

[wtr-general] watir-webdriver and ie9 - downloading a file stops processing

2011-09-15 Thread jw
Using watir and ie8 I was able to DL files from my app no problem. Now using ie9.0.8112 ruby 1.8.7 p352 selenium-webdriver (2.5.0) watir (2.0.1) watir-webdriver (0.3.3) The click_no_wait method is no longer an option in watir-webdriver. IE9's DLs appear in-window in a gold band near the

[wtr-general] Re: watir-webdriver and ie9 - downloading a file stops processing

2011-09-15 Thread jw
I guess my temporary hack is to very briefly: #HACK for ie9: open and close dev toolbar real quick if ($envHash[:browserFlavor]['ie9']) send_keys(:f12) sleep 0.1 send_keys(:f12) end -- Before posting, please read http://watir.com/support. In short: search before