Sets the amount of time the driver should wait when searching for an element that is not immediately present.
Sets the amount of time the driver should wait when searching for an element that is not immediately present.
When searching for requested elements, Selenium will poll the page until the requested element
(or at least one of multiple requested elements) is found or this "implicit wait" timeout has expired.
If the timeout expires, Selenium will throw NoSuchElementException
,
which will wrap by TestHelper.failTest()
.
It is recommended to use PageObject's waitFor
construct instead.
This method invokes manage.timeouts.implicitlyWait
on the passed WebDriver
.
See the documentation of Selenium's
WebDriver#Timeouts
interface for more information.
the time span to implicitly wait
the WebDriver
on which to set the implicit wait
Close all windows, and exit the driver.
Close all windows, and exit the driver.
the WebDriver
on which to quit.