[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-10 Thread Andrew Leaf
On Thursday, May 9, 2013 8:54:19 PM UTC-5, Dan wrote: Secondly, your syntax for starting a browser is incorrect. It should be .new not .start. browser = Watir::Browser.new :chrome Hello Dan, I just wanted to clarify that is valid Watir code. browser = Watir::Browser.start

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-10 Thread Dan
Thanks Andrew! You learn something new everyday! On Friday, May 10, 2013 11:58:31 AM UTC-4, Andrew Leaf wrote: On Thursday, May 9, 2013 8:54:19 PM UTC-5, Dan wrote: Secondly, your syntax for starting a browser is incorrect. It should be .new not .start. browser = Watir::Browser.new

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-10 Thread Andrew Leaf
You're welcome, however, I had a copy and paste failure there. browser = Watir::Browser.start url is the same as browser = Watir.new browser.goto url On Friday, May 10, 2013 11:04:09 AM UTC-5, Dan wrote: Thanks Andrew! You learn something new everyday! On Friday, May 10, 2013 11:58:31

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-10 Thread Andrew Leaf
One last correction: browser = Watir::Browser.start url is the same as browser = Watir::Browser.new browser.goto url -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-09 Thread Ankita@Adslot
what if you add browser.text_field(:id, subscriber_id).wait_until_present(timeout = 100) before browser.text_field(:id, subscriber_id).set(1) On Saturday, April 20, 2013 7:56:08 PM UTC+10, Christian Scheid wrote: Hi, I'm just starting to use Waitir and have the following issue: The

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-09 Thread Dan
There's a few funny things about your script. You really only need to require watir or watir-webdriver. If you're using the watir gem it'll either load the watir-classic gem, if you ask it for ie, or watir-webdriver gem if you ask it for chrome or firefox. Secondly, your syntax for starting