It is designed to :Avoid the user to add waitForElementPresent before click, type, select...Implement the implicit wait function available with Selenium 2 WebDriversHandle AJAX processing status
An error is raised when an element is not found and when the timeout defined in Selenium IDE Options is reachedNew Selenium commands :setImplicitWaitLocator | timeout | |
Waits until each locator is found before executing each command.
setImplicitWaitCondition | 5000 |setImplicitWaitCondition | timeout | condition_js |
Waits until the condition is true before executing each command.
Examples using Ajax libraries to wait the end of the transaction :
setImplicitWaitCondition | 5000 | window.dojo? window.dojo.io.XMLHTTPTransport.inFlight.length==0 : true |Project Website : http://code.google.com/p/selenium-implicit-wait/
setImplicitWaitCondition | 5000 | window.Ajax? window.Ajax.activeRequestCount==0 : true |
setImplicitWaitCondition | 5000 | window.tapestry ? window.tapestry.isServingRequests()==false : true |
setImplicitWaitCondition | 5000 | window.jQuery ? window.jQuery.active==0 : true |
setImplicitWaitCondition | 5000 | window.Sys ? window.Sys.WebForms?.PageRequestManager?.getInstance().get_isInAsyncPostBack()==false : true |