Closed chrisvariety closed 14 years ago
Thanks for this, I'll get a fix in first thing tomorrow.
So, after totally missing your point, I see what went wrong here...
Going with the selenium-client idiomatic api (http://selenium-client.rubyforge.org/classes/Selenium/Client/Idiomatic.html#M000070) rather than specifying a timeout_in_seconds.
Just pushed this fix in Pyrite 0.5.9
Thanks, your fix is way better than mine. I fail at reading docs.
Just tested it and it works great!
Here's the error message:
http://gist.github.com/439640
Fixing this looks pretty easy, I just didn't want to go through all the forking/patching hassle.
I only changed one line in dsl.rb, from:
browser.wait_for_page_to_load :page
to:
browser.wait_for_page_to_load 10
That's a timeout, in seconds.