public final class WebDriverManagement extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.WebDriver |
getCurrentDriver()
Return the driver already in use.
|
static org.openqa.selenium.support.ui.WebDriverWait |
getWait(int timeOutInSeconds)
Get a
WebDriverWait for the current driver.. |
static org.openqa.selenium.support.ui.WebDriverWait |
getWait(int timeOutInSeconds,
int pollingInterval)
Get a
WebDriverWait for the current driver.. |
static void |
setDefaultTimeout()
Set implicit wait to configured default timeout.
|
static void |
setZeroTimeout()
Set implicit wait to 0 seconds timeout.
|
public static org.openqa.selenium.WebDriver getCurrentDriver()
public static org.openqa.selenium.support.ui.WebDriverWait getWait(int timeOutInSeconds)
Get a WebDriverWait for the current driver..
timeOutInSeconds - how many seconds to wait until giving upWebDriverWait configured with custom timeoutspublic static org.openqa.selenium.support.ui.WebDriverWait getWait(int timeOutInSeconds,
int pollingInterval)
Get a WebDriverWait for the current driver..
timeOutInSeconds - how many seconds to wait until giving uppollingInterval - how many milliseconds between pollsWebDriverWait configured with custom timeoutspublic static void setDefaultTimeout()
public static void setZeroTimeout()
Copyright © 2017–2022 wcm.io QA. All rights reserved.