Is it possible to globally increase Watir-Webdriver when_present wait time?
问题 I am writing an automated testing program which will test some web programs that are sometimes slow to load certain AJAX calls. For instance the user will click 'Query' which will result in a HTML 'loading' overlay for anywhere from 15 to 90 seconds. When the search completes, it will then update a table on the same page with the results. So obviously I can increase the waiting time individually like so: browser.td(:id => 'someId').when_present.some_action #=> will wait 30 seconds browser.td(