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