Uses of Interface
org.openqa.selenium.WebDriver
-
Packages that use WebDriver Package Description org.openqa.selenium org.openqa.selenium.interactions org.openqa.selenium.interactions.touch org.openqa.selenium.logging -
-
Uses of WebDriver in org.openqa.selenium
Methods in org.openqa.selenium that return WebDriver Modifier and Type Method Description WebDriver
ContextAware. context(java.lang.String name)
Switch the focus of future commands for this driver to the context with the given name.WebDriver
WebDriver.TargetLocator. defaultContent()
Selects either the first frame on the page, or the main document when a page contains iframes.WebDriver
WebDriver.TargetLocator. frame(int index)
Select a frame by its (zero-based) index.WebDriver
WebDriver.TargetLocator. frame(java.lang.String nameOrId)
Select a frame by its name or ID.WebDriver
WebDriver.TargetLocator. frame(WebElement frameElement)
Select a frame using its previously locatedWebElement
.protected WebDriver
By. getWebDriver(SearchContext context)
WebDriver
WrapsDriver. getWrappedDriver()
WebDriver
WebDriver.TargetLocator. newWindow(WindowType typeHint)
Creates a new browser window and switches the focus for future commands of this driver to the new window.WebDriver
WebDriver.TargetLocator. parentFrame()
Change focus to the parent context.WebDriver
WebDriver.TargetLocator. window(java.lang.String nameOrHandle)
Switch the focus of future commands for this driver to the window with the given name/handle.Methods in org.openqa.selenium that return types with arguments of type WebDriver Modifier and Type Method Description java.util.Optional<WebDriver>
WebDriverInfo. createDriver(Capabilities capabilities)
Creates a new instance of theWebDriver
implementation. -
Uses of WebDriver in org.openqa.selenium.interactions
Constructors in org.openqa.selenium.interactions with parameters of type WebDriver Constructor Description Actions(WebDriver driver)
-
Uses of WebDriver in org.openqa.selenium.interactions.touch
Constructors in org.openqa.selenium.interactions.touch with parameters of type WebDriver Constructor Description TouchActions(WebDriver driver)
-
Uses of WebDriver in org.openqa.selenium.logging
Methods in org.openqa.selenium.logging with parameters of type WebDriver Modifier and Type Method Description default void
EventType. initializeListener(WebDriver webDriver)
-