Class LazyDriver
- java.lang.Object
-
- com.codeborne.selenide.drivercommands.LazyDriver
-
-
Constructor Summary
Constructors Constructor Description LazyDriver(Config config, org.openqa.selenium.Proxy userProvidedProxy, java.util.List<org.openqa.selenium.support.events.WebDriverEventListener> listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Browser
browser()
DownloadsFolder
browserDownloadsFolder()
void
close()
Config
config()
org.openqa.selenium.WebDriver
getAndCheckWebDriver()
SelenideProxyServer
getProxy()
org.openqa.selenium.WebDriver
getWebDriver()
boolean
hasWebDriverStarted()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.codeborne.selenide.Driver
actions, clearCookies, executeAsyncJavaScript, executeJavaScript, getCurrentFrameUrl, getUserAgent, source, supportsJavascript, switchTo, url
-
-
-
-
Constructor Detail
-
LazyDriver
public LazyDriver(Config config, @Nullable org.openqa.selenium.Proxy userProvidedProxy, java.util.List<org.openqa.selenium.support.events.WebDriverEventListener> listeners)
-
-
Method Detail
-
hasWebDriverStarted
public boolean hasWebDriverStarted()
- Specified by:
hasWebDriverStarted
in interfaceDriver
-
getWebDriver
@Nonnull public org.openqa.selenium.WebDriver getWebDriver()
- Specified by:
getWebDriver
in interfaceDriver
-
getProxy
@Nullable public SelenideProxyServer getProxy()
-
getAndCheckWebDriver
@Nonnull public org.openqa.selenium.WebDriver getAndCheckWebDriver()
- Specified by:
getAndCheckWebDriver
in interfaceDriver
-
browserDownloadsFolder
@CheckReturnValue @Nullable public DownloadsFolder browserDownloadsFolder()
- Specified by:
browserDownloadsFolder
in interfaceDriver
-
-