Re: [wtr-general] Watir with Safari!!!

2013-01-18 Thread Sophia Sunitha
@ Ċ½eljko and Oscar: Does Watir-Webdriver support automating Safari in Windows XP or 7. If yes then does the extension has some effect, since the version of selenium-webdriver gem is 2.27.2 but the svn check out leads to 2.28.1. Will this have any affect. I was able to get 2.27.0 which is the

[wtr-general] Re: Undefined method 'javascript_dialog' using Watir 4.0.2/Ruby 1.9.3

2013-01-18 Thread Jarmo Pertman
As Dan mentioned - use the JavaScript dialogs API. Use the #alert method (http://rubydoc.info/github/watir/watir-classic/Watir/Container:alert) and then appropriate Alert (http://rubydoc.info/github/watir/watir-classic/Watir/Alert) methods. Jarmo Pertman - IT does really matter -

[wtr-general] Re: Undefined method 'javascript_dialog' using Watir 4.0.2/Ruby 1.9.3

2013-01-18 Thread captin
Thank you gents. The Watir::Alert objects are exactly what I needed. Only downside is that I have to switch to watir-classic from the standard watir, since I'm testing primarily in IE. So far there aren't any side effects. *fingers crossed* And thanks for your continued help. This is one of