Package com.codeborne.selenide
Interface Driver
- All Known Implementing Classes:
LazyDriver
,WebDriverWrapper
public interface Driver
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.openqa.selenium.interactions.Actions
actions()
browser()
@Nullable DownloadsFolder
default void
void
close()
config()
default <T> @Nullable T
executeAsyncJavaScript
(String jsCode, Object... arguments) default <T> @Nullable T
executeJavaScript
(String jsCode, Object... arguments) org.openqa.selenium.WebDriver
default String
getProxy()
default org.openqa.selenium.remote.SessionId
default String
org.openqa.selenium.WebDriver
boolean
default boolean
default @Nullable String
source()
default boolean
default SelenideTargetLocator
switchTo()
default String
url()
-
Method Details
-
config
Config config() -
browser
Browser browser() -
hasWebDriverStarted
boolean hasWebDriverStarted() -
getWebDriver
org.openqa.selenium.WebDriver getWebDriver() -
getProxy
SelenideProxyServer getProxy() -
getAndCheckWebDriver
org.openqa.selenium.WebDriver getAndCheckWebDriver() -
browserDownloadsFolder
@Nullable DownloadsFolder browserDownloadsFolder() -
close
void close() -
supportsJavascript
default boolean supportsJavascript() -
executeJavaScript
-
executeAsyncJavaScript
-
clearCookies
default void clearCookies() -
getUserAgent
-
source
-
url
-
getCurrentFrameUrl
-
switchTo
-
actions
default org.openqa.selenium.interactions.Actions actions() -
getSessionId
default org.openqa.selenium.remote.SessionId getSessionId() -
isLocalBrowser
default boolean isLocalBrowser()
-