SyntaxFix
Write A Post
Hire A Developer
Questions
Ruby implementation:
wait = Selenium::WebDriver::Wait.new(:timeout => 10) wait.until { @driver.execute_script("return document.readyState;") == "complete" }