timeoutsImplicitWait
Set the amount of time the driver should wait when searching for elements. When searching for a single element,
the driver should poll the page until an element is found or the timeout expires, whichever occurs first. When
searching for multiple elements, the driver should poll the page until at least one element is found or the
timeout expires, at which point it should return an empty list.
If this command is never sent, the driver should default to an implicit wait of 0ms.
This command is deprecated and will be removed soon. Make sure you don’t use it in your
automation/test scripts anymore to avoid errors. Please use the
timeouts
command instead.
Usage
1
| browser.timeoutsImplicitWait(ms);
|
Parameters
Param |
Type |
Details |
ms |
Number |
The amount of time to wait, in milliseconds. This value has a lower bound of 0. |