Constructor and Description |
---|
WebDriverWrapper(Config config,
org.openqa.selenium.WebDriver webDriver,
SelenideProxyServer selenideProxy) |
Modifier and Type | Method and Description |
---|---|
Browser |
browser() |
void |
close()
Close the webdriver.
|
Config |
config() |
org.openqa.selenium.WebDriver |
getAndCheckWebDriver() |
SelenideProxyServer |
getProxy() |
org.openqa.selenium.WebDriver |
getWebDriver() |
boolean |
hasWebDriverStarted() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actions, clearCookies, executeAsyncJavaScript, executeJavaScript, getCurrentFrameUrl, getUserAgent, source, supportsJavascript, switchTo, url
public WebDriverWrapper(@Nonnull Config config, @Nonnull org.openqa.selenium.WebDriver webDriver, @Nullable SelenideProxyServer selenideProxy)
public boolean hasWebDriverStarted()
hasWebDriverStarted
in interface Driver
public org.openqa.selenium.WebDriver getWebDriver()
getWebDriver
in interface Driver
public SelenideProxyServer getProxy()
public org.openqa.selenium.WebDriver getAndCheckWebDriver()
getAndCheckWebDriver
in interface Driver