I\'m trying to tell my watir script to wait for an ajax-injected login box to open up. I am using watir-webdriver, and testing in Chrome. I cannot get wait_until
wait_until
You can also set timeout with browser.it will wait for it 700 seconds, like this.
client = Selenium::WebDriver::Remote::Http::Default.new client.timeout = 700 # seconds � default is 60 second ie=Watir::Browser.new:firefox, :http_client => client