Java org.openqa.selenium WebDriver fields, constructors, methods, implement or subclass

Example usage for Java org.openqa.selenium WebDriver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.openqa.selenium WebDriver.

The text is from its open source code.

Implementation

org.openqa.selenium.WebDriver has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Close the current window, quitting the browser if it's the last window currently open.
WebElementfindElement(By by)
Find the first WebElement using the given method.
ListfindElements(By by)
Find all elements within the current page using the given mechanism.
voidget(String url)
Load a new web page in the current browser window.
StringgetCurrentUrl()
Get a string representing the current URL that the browser is looking at.
StringgetPageSource()
Get the source of the last loaded page.
StringgetTitle()
Get the title of the current page.
StringgetWindowHandle()
Return an opaque handle to this window that uniquely identifies it within this driver instance.
SetgetWindowHandles()
Return a set of window handles which can be used to iterate over all open windows of this WebDriver instance by passing them to #switchTo() .
Optionsmanage()
Gets the Option interface
Navigationnavigate()
An abstraction allowing the driver to access the browser's history and to navigate to a given URL.
voidquit()
Quits this driver, closing every associated window.
TargetLocatorswitchTo()
Send future commands to a different frame or window.