[wtr-general] Re: Why would a command work in IRB but fail in the script itself?

2012-04-04 Thread Abe Heward
Ah ha! That was the ticket! Thanks. It really didn't seem like I needed a wait, here, but I guess so. On Wednesday, April 4, 2012 3:13:55 PM UTC-7, Anthony Hallett wrote: > > Is your site running JavaScript? > Have a look at > https://github.com/watir/watir-webdriver/wiki/AJAX-and-waiting-for

[wtr-general] Re: Why would a command work in IRB but fail in the script itself?

2012-04-04 Thread Anthony Hallett
Is your site running JavaScript? Have a look at https://github.com/watir/watir-webdriver/wiki/AJAX-and-waiting-for-elements On Thursday, 5 April 2012 08:04:42 UTC+10, Abe Heward wrote: > > If I run this command in IRB it works: > > @browser.li(:text=>/Text File/i).checkbox.set > > However, that s