Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

accept() - Method in interface org.openqa.selenium.Alert
 
Action - Interface in org.openqa.selenium.interactions
Interface representing a single user-interaction action.
activateEngine(String) - Method in interface org.openqa.selenium.WebDriver.ImeHandler
Make an engines that is available (appears on the list returned by getAvailableEngines) active.
activeElement() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Switches to the element that currently has focus within the document currently "switched to", or the body element if this cannot be detected.
addAction(Interaction) - Method in class org.openqa.selenium.interactions.Sequence
 
addCookie(Cookie) - Method in interface org.openqa.selenium.WebDriver.Options
Add a specific cookie.
addInfo(String, String) - Method in exception org.openqa.selenium.WebDriverException
 
addPreferences(LoggingPreferences) - Method in class org.openqa.selenium.logging.LoggingPreferences
Adds the given logging preferences giving them precedence over existing preferences.
AIRPLANE_MODE - Static variable in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
Alert - Interface in org.openqa.selenium
 
alert() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Switches to the currently active modal dialog for this particular driver instance.
ALL - Static variable in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
AppCacheStatus - Enum in org.openqa.selenium.html5
Represents the application cache status.
ApplicationCache - Interface in org.openqa.selenium.html5
 
Architecture - Enum in org.openqa.selenium
Represents the known architectures used in WebDriver.
asMap() - Method in interface org.openqa.selenium.Capabilities
 

B

back() - Method in interface org.openqa.selenium.WebDriver.Navigation
Move back a single "item" in the browser's history.
BASE64 - Static variable in interface org.openqa.selenium.OutputType
Obtain the screenshot as base64 data.
BASE_SUPPORT_URL - Static variable in exception org.openqa.selenium.WebDriverException
 
Beta - Annotation Type in org.openqa.selenium
Indicates that a feature or API is in active development, and so should not be relied upon.
build() - Method in class org.openqa.selenium.Cookie.Builder
 
Builder(String, String) - Constructor for class org.openqa.selenium.Cookie.Builder
 
BuildInfo - Class in org.openqa.selenium.internal
Reads information about how the current application was built from the Build-Info section of the manifest in the jar file, which contains this class.
BuildInfo() - Constructor for class org.openqa.selenium.internal.BuildInfo
 
By - Class in org.openqa.selenium
Mechanism used to locate elements within a document.
By() - Constructor for class org.openqa.selenium.By
 
By.ByClassName - Class in org.openqa.selenium
 
By.ByCssSelector - Class in org.openqa.selenium
 
By.ById - Class in org.openqa.selenium
 
By.ByLinkText - Class in org.openqa.selenium
 
By.ByName - Class in org.openqa.selenium
 
By.ByPartialLinkText - Class in org.openqa.selenium
 
By.ByTagName - Class in org.openqa.selenium
 
By.ByXPath - Class in org.openqa.selenium
 
ByClassName(String) - Constructor for class org.openqa.selenium.By.ByClassName
 
ByCssSelector(String) - Constructor for class org.openqa.selenium.By.ByCssSelector
 
ById(String) - Constructor for class org.openqa.selenium.By.ById
 
ByLinkText(String) - Constructor for class org.openqa.selenium.By.ByLinkText
 
ByName(String) - Constructor for class org.openqa.selenium.By.ByName
 
ByPartialLinkText(String) - Constructor for class org.openqa.selenium.By.ByPartialLinkText
 
ByTagName(String) - Constructor for class org.openqa.selenium.By.ByTagName
 
BYTES - Static variable in interface org.openqa.selenium.OutputType
Obtain the screenshot as raw bytes.
ByXPath(String) - Constructor for class org.openqa.selenium.By.ByXPath
 

C

Capabilities - Interface in org.openqa.selenium
Describes a series of key/value pairs that encapsulate aspects of a browser.
charAt(int) - Method in enum org.openqa.selenium.Keys
 
chord(CharSequence...) - Static method in enum org.openqa.selenium.Keys
Simulate pressing many keys at once in a "chord".
chord(Iterable<CharSequence>) - Static method in enum org.openqa.selenium.Keys
 
className(String) - Static method in class org.openqa.selenium.By
Find elements based on the value of the "class" attribute.
clear() - Method in interface org.openqa.selenium.html5.LocalStorage
 
clear() - Method in interface org.openqa.selenium.html5.SessionStorage
 
clear() - Method in interface org.openqa.selenium.WebElement
If this element is a text entry element, this will clear the value.
click(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
click() - Method in interface org.openqa.selenium.WebElement
Click this element.
close() - Method in interface org.openqa.selenium.WebDriver
Close the current window, quitting the browser if it's the last window currently open.
ConnectionType(Boolean, Boolean, Boolean) - Constructor for class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
ConnectionType(int) - Constructor for class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
context(String) - Method in interface org.openqa.selenium.ContextAware
Switch the focus of future commands for this driver to the context with the given name.
ContextAware - Interface in org.openqa.selenium
Some implementations of WebDriver, notably those that support native testing, need the ability to switch between the native and web-based contexts.
contextClick(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
convertFromBase64Png(String) - Method in interface org.openqa.selenium.OutputType
Convert the given base64 png to a requested format.
convertFromPngBytes(byte[]) - Method in interface org.openqa.selenium.OutputType
Convert the given png to a requested format.
Cookie - Class in org.openqa.selenium
 
Cookie(String, String, String, Date) - Constructor for class org.openqa.selenium.Cookie
Creates an insecure non-httpOnly cookie with no domain specified.
Cookie(String, String, String, String, Date) - Constructor for class org.openqa.selenium.Cookie
Creates an insecure non-httpOnly cookie.
Cookie(String, String, String, String, Date, boolean) - Constructor for class org.openqa.selenium.Cookie
Creates a non-httpOnly cookie.
Cookie(String, String, String, String, Date, boolean, boolean) - Constructor for class org.openqa.selenium.Cookie
Creates a cookie.
Cookie(String, String) - Constructor for class org.openqa.selenium.Cookie
Create a cookie for the default path with the given name and value with no expiry set.
Cookie(String, String, String) - Constructor for class org.openqa.selenium.Cookie
Create a cookie.
Cookie.Builder - Class in org.openqa.selenium
 
Coordinates - Interface in org.openqa.selenium.interactions.internal
Provides coordinates of an element for advanced interactions.
cssSelector(String) - Static method in class org.openqa.selenium.By
Find elements via the driver's underlying W3C Selector engine.

D

DATA - Static variable in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
deactivate() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
De-activate IME input (turns off the currently activated engine).
defaultContent() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Selects either the first frame on the page, or the main document when a page contains iframes.
deleteAllCookies() - Method in interface org.openqa.selenium.WebDriver.Options
Delete all the cookies for the current domain.
deleteCookie(Cookie) - Method in interface org.openqa.selenium.WebDriver.Options
Delete a cookie from the browser's "cookie jar".
deleteCookieNamed(String) - Method in interface org.openqa.selenium.WebDriver.Options
Delete the named cookie from the current domain.
DeviceRotation - Class in org.openqa.selenium
Defines an object which represents the three dimensional plane and how a device can be rotated about it.
DeviceRotation(int, int, int) - Constructor for class org.openqa.selenium.DeviceRotation
Instantiate a DeviceRotation object based on three integers.
DeviceRotation(Map<String, Number>) - Constructor for class org.openqa.selenium.DeviceRotation
Instantiate a DeviceRotation object based on a HashMap object where the keys are the axes x, y, and z respectively: x : xVal y : yVal z : zVal
Dimension - Class in org.openqa.selenium
Similar to Point - implement locally to avoid depending on GWT.
Dimension(int, int) - Constructor for class org.openqa.selenium.Dimension
 
dismiss() - Method in interface org.openqa.selenium.Alert
 
domain(String) - Method in class org.openqa.selenium.Cookie.Builder
 
doubleClick(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
doubleTap(Coordinates) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of double tapon the screen, analogous to double click using a Mouse.
down(int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of the gesture 'down' on the screen.
DRIVER_INFO - Static variable in exception org.openqa.selenium.WebDriverException
 

E

ElementClickInterceptedException - Exception in org.openqa.selenium
Indicates that a click could not be properly executed because the target element was obscured in some way.
ElementClickInterceptedException(String) - Constructor for exception org.openqa.selenium.ElementClickInterceptedException
 
ElementClickInterceptedException(String, Throwable) - Constructor for exception org.openqa.selenium.ElementClickInterceptedException
 
ElementNotInteractableException - Exception in org.openqa.selenium
Thrown to indicate that although an element is present on the DOM, it is not in a state that can be interacted with.
ElementNotInteractableException(String) - Constructor for exception org.openqa.selenium.ElementNotInteractableException
 
ElementNotInteractableException(String, Throwable) - Constructor for exception org.openqa.selenium.ElementNotInteractableException
 
ElementNotSelectableException - Exception in org.openqa.selenium
Thrown to indicate that although an element is present on the DOM, it is not selectable, and so is not able to be interacted with.
ElementNotSelectableException(String) - Constructor for exception org.openqa.selenium.ElementNotSelectableException
 
ElementNotSelectableException(String, Throwable) - Constructor for exception org.openqa.selenium.ElementNotSelectableException
 
ElementNotVisibleException - Exception in org.openqa.selenium
Thrown to indicate that although an element is present on the DOM, it is not visible, and so is not able to be interacted with.
ElementNotVisibleException(String) - Constructor for exception org.openqa.selenium.ElementNotVisibleException
 
ElementNotVisibleException(String, Throwable) - Constructor for exception org.openqa.selenium.ElementNotVisibleException
 
ElementScrollBehavior - Enum in org.openqa.selenium.internal
 
enable(String, Level) - Method in class org.openqa.selenium.logging.LoggingPreferences
Enables logging for the given log type at the specified level and above.
Encodable - Interface in org.openqa.selenium.interactions
This interface allows a custom Interaction to be JSON encoded for the W3C wire format.
encode() - Method in interface org.openqa.selenium.interactions.Encodable
 
encode() - Method in class org.openqa.selenium.interactions.Pause
 
encode() - Method in class org.openqa.selenium.interactions.Sequence
 
equals(Object) - Method in class org.openqa.selenium.By
 
equals(Object) - Method in class org.openqa.selenium.Cookie
Two cookies are equal if the name and value match
equals(Object) - Method in class org.openqa.selenium.DeviceRotation
 
equals(Object) - Method in class org.openqa.selenium.Dimension
 
equals(Object) - Method in class org.openqa.selenium.logging.LoggingPreferences
 
equals(Object) - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
equals(Object) - Method in class org.openqa.selenium.Point
 
equals(Object) - Method in class org.openqa.selenium.Proxy
 
equals(Object) - Method in class org.openqa.selenium.Rectangle
 
executeAsyncScript(String, Object...) - Method in interface org.openqa.selenium.JavascriptExecutor
Execute an asynchronous piece of JavaScript in the context of the currently selected frame or window.
executeScript(String, Object...) - Method in interface org.openqa.selenium.JavascriptExecutor
Executes JavaScript in the context of the currently selected frame or window.
expiresOn(Date) - Method in class org.openqa.selenium.Cookie.Builder
 
extractFrom(Capabilities) - Static method in class org.openqa.selenium.Proxy
 
extractFromSysProperty(String) - Static method in enum org.openqa.selenium.Architecture
Extracts architectures based on system properties in Java and a heuristic to overcome differences between JDK implementations.
extractFromSysProperty(String) - Static method in enum org.openqa.selenium.Platform
Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.
extractFromSysProperty(String, String) - Static method in enum org.openqa.selenium.Platform
Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.

F

family() - Method in enum org.openqa.selenium.Platform
Returns a platform that represents a family for the current platform.
FILE - Static variable in interface org.openqa.selenium.OutputType
Obtain the screenshot into a temporary file that will be deleted once the JVM exits.
filter(Level) - Method in class org.openqa.selenium.logging.LogEntries
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByClassName
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByCssSelector
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ById
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByLinkText
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByName
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByPartialLinkText
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByTagName
 
findElement(SearchContext) - Method in class org.openqa.selenium.By.ByXPath
 
findElement(SearchContext) - Method in class org.openqa.selenium.By
Find a single element.
findElement(By) - Method in interface org.openqa.selenium.SearchContext
Find the first WebElement using the given method.
findElement(By) - Method in interface org.openqa.selenium.WebDriver
Find the first WebElement using the given method.
findElement(By) - Method in interface org.openqa.selenium.WebElement
Find the first WebElement using the given method.
findElementByClassName(String) - Method in interface org.openqa.selenium.internal.FindsByClassName
 
findElementByCssSelector(String) - Method in interface org.openqa.selenium.internal.FindsByCssSelector
 
findElementById(String) - Method in interface org.openqa.selenium.internal.FindsById
 
findElementByLinkText(String) - Method in interface org.openqa.selenium.internal.FindsByLinkText
 
findElementByName(String) - Method in interface org.openqa.selenium.internal.FindsByName
 
findElementByPartialLinkText(String) - Method in interface org.openqa.selenium.internal.FindsByLinkText
 
findElementByTagName(String) - Method in interface org.openqa.selenium.internal.FindsByTagName
 
findElementByXPath(String) - Method in interface org.openqa.selenium.internal.FindsByXPath
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByClassName
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByCssSelector
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ById
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByLinkText
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByName
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByPartialLinkText
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByTagName
 
findElements(SearchContext) - Method in class org.openqa.selenium.By.ByXPath
 
findElements(SearchContext) - Method in class org.openqa.selenium.By
Find many elements.
findElements(By) - Method in interface org.openqa.selenium.SearchContext
Find all elements within the current context using the given mechanism.
findElements(By) - Method in interface org.openqa.selenium.WebDriver
Find all elements within the current page using the given mechanism.
findElements(By) - Method in interface org.openqa.selenium.WebElement
Find all elements within the current context using the given mechanism.
findElementsByClassName(String) - Method in interface org.openqa.selenium.internal.FindsByClassName
 
findElementsByCssSelector(String) - Method in interface org.openqa.selenium.internal.FindsByCssSelector
 
findElementsById(String) - Method in interface org.openqa.selenium.internal.FindsById
 
findElementsByLinkText(String) - Method in interface org.openqa.selenium.internal.FindsByLinkText
 
findElementsByName(String) - Method in interface org.openqa.selenium.internal.FindsByName
 
findElementsByPartialLinkText(String) - Method in interface org.openqa.selenium.internal.FindsByLinkText
 
findElementsByTagName(String) - Method in interface org.openqa.selenium.internal.FindsByTagName
 
findElementsByXPath(String) - Method in interface org.openqa.selenium.internal.FindsByXPath
 
FindsByClassName - Interface in org.openqa.selenium.internal
 
FindsByCssSelector - Interface in org.openqa.selenium.internal
 
FindsById - Interface in org.openqa.selenium.internal
 
FindsByLinkText - Interface in org.openqa.selenium.internal
 
FindsByName - Interface in org.openqa.selenium.internal
 
FindsByTagName - Interface in org.openqa.selenium.internal
 
FindsByXPath - Interface in org.openqa.selenium.internal
 
flick(int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Sends a flick gesture to the current view.
flick(Coordinates, int, int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of flick gestures starting in a location's element.
forward() - Method in interface org.openqa.selenium.WebDriver.Navigation
Move a single "item" forward in the browser's history.
frame(int) - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Select a frame by its (zero-based) index.
frame(String) - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Select a frame by its name or ID.
frame(WebElement) - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Select a frame using its previously located WebElement.
fromString(String) - Static method in enum org.openqa.selenium.internal.ElementScrollBehavior
 
fromString(String) - Static method in enum org.openqa.selenium.PageLoadStrategy
 
fromString(String) - Static method in enum org.openqa.selenium.Platform
Gets a platform with the name matching the parameter.
fromString(String) - Static method in enum org.openqa.selenium.UnexpectedAlertBehaviour
 
fullscreen() - Method in interface org.openqa.selenium.WebDriver.Window
Fullscreen the current window if it is not already fullscreen

G

get(String) - Method in interface org.openqa.selenium.logging.Logs
Fetches available log entries for the given log type.
get(String) - Method in interface org.openqa.selenium.WebDriver
Load a new web page in the current browser window.
getActiveEngine() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
Get the name of the active IME engine.
getAdditionalInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getAlert() - Method in exception org.openqa.selenium.UnhandledAlertException
 
getAlertText() - Method in exception org.openqa.selenium.UnhandledAlertException
 
getAll() - Method in class org.openqa.selenium.logging.LogEntries
Get the list of all log entries.
getAltitude() - Method in class org.openqa.selenium.html5.Location
 
getAttribute(String) - Method in interface org.openqa.selenium.WebElement
Get the value of the given attribute of the element.
getAuxiliary() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
 
getAvailableEngines() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
All available engines on the machine.
getAvailableLogTypes() - Method in interface org.openqa.selenium.logging.Logs
Queries for available log types.
getBrowserName() - Method in interface org.openqa.selenium.Capabilities
 
getBuildInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getBuildRevision() - Method in class org.openqa.selenium.internal.BuildInfo
 
getBuildTime() - Method in class org.openqa.selenium.internal.BuildInfo
 
getCapabilities() - Method in interface org.openqa.selenium.HasCapabilities
 
getCapability(String) - Method in interface org.openqa.selenium.Capabilities
 
getCodePoint() - Method in enum org.openqa.selenium.Keys
 
getContext() - Method in interface org.openqa.selenium.ContextAware
Return an opaque handle to this context that uniquely identifies it within this driver instance.
getContextHandles() - Method in interface org.openqa.selenium.ContextAware
Return a set of context handles which can be used to iterate over all contexts of this WebDriver instance.
getCookieNamed(String) - Method in interface org.openqa.selenium.WebDriver.Options
Get a cookie with a given name.
getCookies() - Method in interface org.openqa.selenium.WebDriver.Options
Get all the cookies for the current domain.
getCoordinates() - Method in interface org.openqa.selenium.interactions.internal.Locatable
 
getCssValue(String) - Method in interface org.openqa.selenium.WebElement
Get the value of a given CSS property.
getCurrent() - Static method in enum org.openqa.selenium.Architecture
Gets current architecture.
getCurrent() - Static method in enum org.openqa.selenium.Platform
Get current platform (not necessarily the same as operating system).
getCurrentUrl() - Method in interface org.openqa.selenium.WebDriver
Get a string representing the current URL that the browser is looking at.
getDataModel() - Method in enum org.openqa.selenium.Architecture
Gets the data model of the architecture.
getDimension() - Method in class org.openqa.selenium.Rectangle
 
getDomain() - Method in class org.openqa.selenium.Cookie
 
getDriverName(StackTraceElement[]) - Static method in exception org.openqa.selenium.WebDriverException
 
getEnabledLogTypes() - Method in class org.openqa.selenium.logging.LoggingPreferences
 
getEnum(int) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
Gets the AppCacheStatus for the given int value.
getEnum(String) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
 
getExpiry() - Method in class org.openqa.selenium.Cookie
 
getFtpProxy() - Method in class org.openqa.selenium.Proxy
Gets the FTP proxy.
getHeight() - Method in class org.openqa.selenium.Dimension
 
getHeight() - Method in class org.openqa.selenium.Rectangle
 
getHttpProxy() - Method in class org.openqa.selenium.Proxy
Gets the HTTP proxy.
getId() - Method in interface org.openqa.selenium.internal.HasIdentity
 
getInputType() - Method in interface org.openqa.selenium.interactions.InputSource
 
getItem(String) - Method in interface org.openqa.selenium.html5.LocalStorage
 
getItem(String) - Method in interface org.openqa.selenium.html5.SessionStorage
 
getKeyboard() - Method in interface org.openqa.selenium.interactions.HasInputDevices
 
getKeyFromUnicode(char) - Static method in enum org.openqa.selenium.Keys
Get the special key representation, Keys, of the supplied character if there is one.
getLatitude() - Method in class org.openqa.selenium.html5.Location
 
getLevel() - Method in class org.openqa.selenium.logging.LogEntry
Gets the logging entry's severity.
getLevel(String) - Method in class org.openqa.selenium.logging.LoggingPreferences
 
getLocalStorage() - Method in interface org.openqa.selenium.html5.WebStorage
 
getLocation() - Method in interface org.openqa.selenium.WebElement
Where on the page is the top left-hand corner of the rendered element?
getLongitude() - Method in class org.openqa.selenium.html5.Location
 
getMajorVersion() - Method in enum org.openqa.selenium.Platform
Returns the major version of this platform.
getMessage() - Method in class org.openqa.selenium.logging.LogEntry
Gets the log entry's message.
getMessage() - Method in exception org.openqa.selenium.WebDriverException
 
getMinorVersion() - Method in enum org.openqa.selenium.Platform
Returns the minor version of this platform.
getMouse() - Method in interface org.openqa.selenium.interactions.HasInputDevices
 
getName() - Method in class org.openqa.selenium.Cookie
 
getName(Level) - Static method in class org.openqa.selenium.logging.LogLevelMapping
Converts the JDK level to a name supported by Selenium.
getNetworkConnection() - Method in interface org.openqa.selenium.mobile.NetworkConnection
Query the driver for the Airplane Mode setting state
getNoProxy() - Method in class org.openqa.selenium.Proxy
Gets proxy bypass (noproxy) addresses.
getOrientation() - Method in interface org.openqa.selenium.Rotatable
 
getPageSource() - Method in interface org.openqa.selenium.WebDriver
Get the source of the last loaded page.
getPartOfOsName() - Method in enum org.openqa.selenium.Platform
 
getPath() - Method in class org.openqa.selenium.Cookie
 
getPlatform() - Method in interface org.openqa.selenium.Capabilities
 
getPoint() - Method in class org.openqa.selenium.Rectangle
 
getPosition() - Method in interface org.openqa.selenium.WebDriver.Window
Get the position of the current window, relative to the upper left corner of the screen.
getProxyAutoconfigUrl() - Method in class org.openqa.selenium.Proxy
Gets the proxy auto-configuration URL.
getProxyType() - Method in class org.openqa.selenium.Proxy
Gets the Proxy.ProxyType.
getRect() - Method in interface org.openqa.selenium.WebElement
 
getReleaseLabel() - Method in class org.openqa.selenium.internal.BuildInfo
 
getScreenshotAs(OutputType<X>) - Method in interface org.openqa.selenium.TakesScreenshot
Capture the screenshot and store it in the specified location.
getSessionStorage() - Method in interface org.openqa.selenium.html5.WebStorage
 
getSize() - Method in interface org.openqa.selenium.WebDriver.Window
Get the size of the current window.
getSize() - Method in interface org.openqa.selenium.WebElement
What is the width and height of the rendered element?
getSocksPassword() - Method in class org.openqa.selenium.Proxy
Gets the SOCKS proxy's password.
getSocksProxy() - Method in class org.openqa.selenium.Proxy
Gets the SOCKS proxy.
getSocksUsername() - Method in class org.openqa.selenium.Proxy
Gets the SOCKS proxy's username.
getSocksVersion() - Method in class org.openqa.selenium.Proxy
Gets the SOCKS version (4 or 5).
getSource() - Method in class org.openqa.selenium.interactions.Interaction
 
getSslProxy() - Method in class org.openqa.selenium.Proxy
Gets the SSL tunnel proxy.
getStatus() - Method in interface org.openqa.selenium.html5.ApplicationCache
The current state of the application cache.
getSupportUrl() - Method in exception org.openqa.selenium.InvalidSelectorException
 
getSupportUrl() - Method in exception org.openqa.selenium.NoSuchElementException
 
getSupportUrl() - Method in exception org.openqa.selenium.StaleElementReferenceException
 
getSupportUrl() - Method in exception org.openqa.selenium.WebDriverException
 
getSystemInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getTagName() - Method in interface org.openqa.selenium.WebElement
Get the tag name of this element.
getText() - Method in interface org.openqa.selenium.Alert
 
getText() - Method in interface org.openqa.selenium.WebElement
Get the visible (i.e.
getTimestamp() - Method in class org.openqa.selenium.logging.LogEntry
Gets the timestamp of the log statement in milliseconds since UNIX Epoch.
getTitle() - Method in interface org.openqa.selenium.WebDriver
The title of the current page.
getTouch() - Method in interface org.openqa.selenium.interactions.HasTouchScreen
 
getType() - Method in enum org.openqa.selenium.interactions.SourceType
 
getValue() - Method in class org.openqa.selenium.Cookie
 
getValue() - Method in enum org.openqa.selenium.internal.ElementScrollBehavior
 
getVersion() - Method in interface org.openqa.selenium.Capabilities
 
getWidth() - Method in class org.openqa.selenium.Dimension
 
getWidth() - Method in class org.openqa.selenium.Rectangle
 
getWindowHandle() - Method in interface org.openqa.selenium.WebDriver
Return an opaque handle to this window that uniquely identifies it within this driver instance.
getWindowHandles() - Method in interface org.openqa.selenium.WebDriver
Return a set of window handles which can be used to iterate over all open windows of this WebDriver instance by passing them to WebDriver.switchTo().WebDriver.Options.window()
getWrappedDriver() - Method in interface org.openqa.selenium.internal.WrapsDriver
 
getWrappedElement() - Method in interface org.openqa.selenium.internal.WrapsElement
 
getX() - Method in class org.openqa.selenium.DeviceRotation
 
getX() - Method in class org.openqa.selenium.Point
 
getX() - Method in class org.openqa.selenium.Rectangle
 
getY() - Method in class org.openqa.selenium.DeviceRotation
 
getY() - Method in class org.openqa.selenium.Point
 
getY() - Method in class org.openqa.selenium.Rectangle
 
getZ() - Method in class org.openqa.selenium.DeviceRotation
 

H

HasCapabilities - Interface in org.openqa.selenium
Used by classes to indicate that they can describe the Capabilities they possess.
hashCode() - Method in class org.openqa.selenium.By
 
hashCode() - Method in class org.openqa.selenium.Cookie
 
hashCode() - Method in class org.openqa.selenium.DeviceRotation
 
hashCode() - Method in class org.openqa.selenium.Dimension
 
hashCode() - Method in class org.openqa.selenium.logging.LoggingPreferences
 
hashCode() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
hashCode() - Method in class org.openqa.selenium.Point
 
hashCode() - Method in class org.openqa.selenium.Proxy
 
hashCode() - Method in class org.openqa.selenium.Rectangle
 
HasIdentity - Interface in org.openqa.selenium.internal
 
HasInputDevices - Interface in org.openqa.selenium.interactions
Interface implemented by each driver that allows access to the raw input devices.
HasTouchScreen - Interface in org.openqa.selenium.interactions
Interface implemented by each driver that allows access to touch screen capabilities.
height - Variable in class org.openqa.selenium.Dimension
 
height - Variable in class org.openqa.selenium.Rectangle
 

I

id(String) - Static method in class org.openqa.selenium.By
 
ime() - Method in interface org.openqa.selenium.WebDriver.Options
 
ImeActivationFailedException - Exception in org.openqa.selenium
Indicates that activating an IME engine has failed.
ImeActivationFailedException(String) - Constructor for exception org.openqa.selenium.ImeActivationFailedException
 
ImeActivationFailedException(String, Throwable) - Constructor for exception org.openqa.selenium.ImeActivationFailedException
 
ImeNotAvailableException - Exception in org.openqa.selenium
Indicates that IME support is not available.
ImeNotAvailableException(String) - Constructor for exception org.openqa.selenium.ImeNotAvailableException
 
ImeNotAvailableException(String, Throwable) - Constructor for exception org.openqa.selenium.ImeNotAvailableException
 
ImmutableCapabilities - Class in org.openqa.selenium
 
ImmutableCapabilities() - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(String, Object) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(String, Object, String, Object) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(String, Object, String, Object, String, Object) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(String, Object, String, Object, String, Object, String, Object) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(String, Object, String, Object, String, Object, String, Object, String, Object) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(Capabilities) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
ImmutableCapabilities(Map<String, ?>) - Constructor for class org.openqa.selenium.ImmutableCapabilities
 
implicitlyWait(long, TimeUnit) - Method in interface org.openqa.selenium.WebDriver.Timeouts
Specifies the amount of time the driver should wait when searching for an element if it is not immediately present.
InputSource - Interface in org.openqa.selenium.interactions
Models an input source as defined and used by the W3C WebDriver spec.
Interaction - Class in org.openqa.selenium.interactions
Used as the basis of Sequences for the W3C WebDriver spec Action commands.
Interaction(InputSource) - Constructor for class org.openqa.selenium.interactions.Interaction
 
Interactive - Interface in org.openqa.selenium.interactions
Indicates that a class can be used with the W3C WebDriver Actions commands.
InvalidArgumentException - Exception in org.openqa.selenium
 
InvalidArgumentException(String) - Constructor for exception org.openqa.selenium.InvalidArgumentException
 
InvalidArgumentException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidArgumentException
 
InvalidCookieDomainException - Exception in org.openqa.selenium
Thrown when attempting to add a cookie under a different domain than the current URL.
InvalidCookieDomainException() - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
 
InvalidCookieDomainException(String) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
 
InvalidCookieDomainException(Throwable) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
 
InvalidCookieDomainException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
 
InvalidCoordinatesException - Exception in org.openqa.selenium.interactions
Indicates that the coordinates provided to an interactions operation are invalid.
InvalidCoordinatesException(String) - Constructor for exception org.openqa.selenium.interactions.InvalidCoordinatesException
 
InvalidElementStateException - Exception in org.openqa.selenium
Indicates that a WebElement is in a state that means actions cannot be performed with it.
InvalidElementStateException() - Constructor for exception org.openqa.selenium.InvalidElementStateException
 
InvalidElementStateException(String) - Constructor for exception org.openqa.selenium.InvalidElementStateException
 
InvalidElementStateException(Throwable) - Constructor for exception org.openqa.selenium.InvalidElementStateException
 
InvalidElementStateException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidElementStateException
 
InvalidSelectorException - Exception in org.openqa.selenium
 
InvalidSelectorException(String) - Constructor for exception org.openqa.selenium.InvalidSelectorException
 
InvalidSelectorException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidSelectorException
 
inViewPort() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
Gets coordinates on the element relative to the top-left corner of OS-window being used to display the content.
is(Architecture) - Method in enum org.openqa.selenium.Architecture
Heuristic for comparing two architectures.
is(String) - Method in interface org.openqa.selenium.Capabilities
 
is(Platform) - Method in enum org.openqa.selenium.Platform
Heuristic for comparing two platforms.
isActivated() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
Indicates whether IME input active at the moment (not if it's available).
isAirplaneMode() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
isAutodetect() - Method in class org.openqa.selenium.Proxy
Whether to autodetect proxy settings.
isDataEnabled() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
isDisplayed() - Method in interface org.openqa.selenium.WebElement
Is this element displayed or not? This method avoids the problem of having to parse an element's "style" attribute.
isEnabled() - Method in interface org.openqa.selenium.WebElement
Is the element currently enabled or not? This will generally return true for everything but disabled input elements.
isHttpOnly(boolean) - Method in class org.openqa.selenium.Cookie.Builder
 
isHttpOnly() - Method in class org.openqa.selenium.Cookie
 
isJavascriptEnabled() - Method in interface org.openqa.selenium.Capabilities
Deprecated.
Use is(SUPPORTS_JAVASCRIPT) instead.
isSecure(boolean) - Method in class org.openqa.selenium.Cookie.Builder
 
isSecure() - Method in class org.openqa.selenium.Cookie
 
isSelected() - Method in interface org.openqa.selenium.WebElement
Determine whether or not this element is selected or not.
isValidFor(SourceType) - Method in class org.openqa.selenium.interactions.Interaction
 
isValidFor(SourceType) - Method in class org.openqa.selenium.interactions.Pause
 
isWifiEnabled() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
iterator() - Method in class org.openqa.selenium.logging.LogEntries
 

J

JavascriptException - Exception in org.openqa.selenium
 
JavascriptException(String) - Constructor for exception org.openqa.selenium.JavascriptException
 
JavascriptException(String, Throwable) - Constructor for exception org.openqa.selenium.JavascriptException
 
JavascriptExecutor - Interface in org.openqa.selenium
Indicates that a driver can execute JavaScript, providing access to the mechanism to do so.

K

Keyboard - Interface in org.openqa.selenium.interactions
Interface representing basic, low-level keyboard operations.
Keys - Enum in org.openqa.selenium
Representations of pressable keys that aren't text.
keySet() - Method in interface org.openqa.selenium.html5.LocalStorage
 
keySet() - Method in interface org.openqa.selenium.html5.SessionStorage
 

L

length() - Method in enum org.openqa.selenium.Keys
 
linkText(String) - Static method in class org.openqa.selenium.By
 
LocalStorage - Interface in org.openqa.selenium.html5
Represents the local storage for the site currently opened in the browser.
Locatable - Interface in org.openqa.selenium.interactions.internal
 
Locatable - Interface in org.openqa.selenium.internal
Deprecated.
Use Locatable instead.
Location - Class in org.openqa.selenium.html5
Represents the physical location of the browser.
Location(double, double, double) - Constructor for class org.openqa.selenium.html5.Location
 
location() - Method in interface org.openqa.selenium.html5.LocationContext
Gets the physical location of the browser.
LocationContext - Interface in org.openqa.selenium.html5
 
LogEntries - Class in org.openqa.selenium.logging
Represent a pool of LogEntry.
LogEntries(Iterable<LogEntry>) - Constructor for class org.openqa.selenium.logging.LogEntries
 
LogEntry - Class in org.openqa.selenium.logging
Represents a single log statement.
LogEntry(Level, long, String) - Constructor for class org.openqa.selenium.logging.LogEntry
 
LoggingPreferences - Class in org.openqa.selenium.logging
Represents the logging preferences.
LoggingPreferences() - Constructor for class org.openqa.selenium.logging.LoggingPreferences
 
LogLevelMapping - Class in org.openqa.selenium.logging
 
LogLevelMapping() - Constructor for class org.openqa.selenium.logging.LogLevelMapping
 
Logs - Interface in org.openqa.selenium.logging
Interface for providing logs.
logs() - Method in interface org.openqa.selenium.WebDriver.Options
Gets the Logs interface used to fetch different types of logs.
longPress(Coordinates) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of long press gestures.

M

manage() - Method in interface org.openqa.selenium.WebDriver
Gets the Option interface
maximize() - Method in interface org.openqa.selenium.WebDriver.Window
Maximizes the current window if it is not already maximized
merge(Capabilities) - Method in interface org.openqa.selenium.Capabilities
Merge two Capabilities together and return the union of the two as a new Capabilities instance.
merge(Capabilities) - Method in class org.openqa.selenium.MutableCapabilities
Merges the extra capabilities provided into this DesiredCapabilities instance.
Mouse - Interface in org.openqa.selenium.interactions
Interface representing basic mouse operations.
mouseDown(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
mouseMove(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
mouseMove(Coordinates, long, long) - Method in interface org.openqa.selenium.interactions.Mouse
 
mouseUp(Coordinates) - Method in interface org.openqa.selenium.interactions.Mouse
 
move(int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of the gesture 'move' on the screen.
move(int, int) - Method in class org.openqa.selenium.Point
 
moveBy(int, int) - Method in class org.openqa.selenium.Point
 
MoveTargetOutOfBoundsException - Exception in org.openqa.selenium.interactions
Indicates that the target provided to the actions move() method is invalid - outside of the size of the window.
MoveTargetOutOfBoundsException(String) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
 
MoveTargetOutOfBoundsException(Throwable) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
 
MoveTargetOutOfBoundsException(String, Throwable) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
 
MutableCapabilities - Class in org.openqa.selenium
 
MutableCapabilities() - Constructor for class org.openqa.selenium.MutableCapabilities
 
MutableCapabilities(Capabilities) - Constructor for class org.openqa.selenium.MutableCapabilities
 
MutableCapabilities(Map<String, ?>) - Constructor for class org.openqa.selenium.MutableCapabilities
 

N

name(String) - Static method in class org.openqa.selenium.By
 
navigate() - Method in interface org.openqa.selenium.WebDriver
An abstraction allowing the driver to access the browser's history and to navigate to a given URL.
NetworkConnection - Interface in org.openqa.selenium.mobile
Control a device's network connection
NetworkConnection.ConnectionType - Class in org.openqa.selenium.mobile
ConnectionType is a bitmask to represent a device's network connection
NoAlertPresentException - Exception in org.openqa.selenium
Indicates that a user has tried to access an alert when one is not present.
NoAlertPresentException() - Constructor for exception org.openqa.selenium.NoAlertPresentException
 
NoAlertPresentException(String) - Constructor for exception org.openqa.selenium.NoAlertPresentException
 
NoAlertPresentException(Throwable) - Constructor for exception org.openqa.selenium.NoAlertPresentException
 
NoAlertPresentException(String, Throwable) - Constructor for exception org.openqa.selenium.NoAlertPresentException
 
NONE - Static variable in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
normalize(Level) - Static method in class org.openqa.selenium.logging.LogLevelMapping
Normalizes the given level to one of those supported by Selenium.
NoSuchCookieException - Exception in org.openqa.selenium
 
NoSuchCookieException(String) - Constructor for exception org.openqa.selenium.NoSuchCookieException
 
NoSuchElementException - Exception in org.openqa.selenium
NoSuchElementException(String) - Constructor for exception org.openqa.selenium.NoSuchElementException
 
NoSuchElementException(String, Throwable) - Constructor for exception org.openqa.selenium.NoSuchElementException
 
NoSuchFrameException - Exception in org.openqa.selenium
NoSuchFrameException(String) - Constructor for exception org.openqa.selenium.NoSuchFrameException
 
NoSuchFrameException(String, Throwable) - Constructor for exception org.openqa.selenium.NoSuchFrameException
 
NoSuchSessionException - Exception in org.openqa.selenium
Thrown by any command being called after WebDriver.quit().
NoSuchSessionException() - Constructor for exception org.openqa.selenium.NoSuchSessionException
 
NoSuchSessionException(String) - Constructor for exception org.openqa.selenium.NoSuchSessionException
 
NoSuchSessionException(String, Throwable) - Constructor for exception org.openqa.selenium.NoSuchSessionException
 
NoSuchWindowException - Exception in org.openqa.selenium
NoSuchWindowException(String) - Constructor for exception org.openqa.selenium.NoSuchWindowException
 
NoSuchWindowException(String, Throwable) - Constructor for exception org.openqa.selenium.NoSuchWindowException
 
NotFoundException - Exception in org.openqa.selenium
 
NotFoundException() - Constructor for exception org.openqa.selenium.NotFoundException
 
NotFoundException(String) - Constructor for exception org.openqa.selenium.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception org.openqa.selenium.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.openqa.selenium.NotFoundException
 

O

onPage() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
Gets coordinates on the element relative to the top-left corner of the page.
onScreen() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
Gets coordinates on the element relative to the top-left corner of the monitor (screen).
org.openqa.selenium - package org.openqa.selenium
 
org.openqa.selenium.html5 - package org.openqa.selenium.html5
 
org.openqa.selenium.interactions - package org.openqa.selenium.interactions
 
org.openqa.selenium.interactions.internal - package org.openqa.selenium.interactions.internal
 
org.openqa.selenium.internal - package org.openqa.selenium.internal
 
org.openqa.selenium.logging - package org.openqa.selenium.logging
 
org.openqa.selenium.mobile - package org.openqa.selenium.mobile
 
OutputType<T> - Interface in org.openqa.selenium
Defines the output type for a screenshot.

P

PageLoadStrategy - Enum in org.openqa.selenium
 
pageLoadTimeout(long, TimeUnit) - Method in interface org.openqa.selenium.WebDriver.Timeouts
Sets the amount of time to wait for a page load to complete before throwing an error.
parameters() - Method in class org.openqa.selenium.DeviceRotation
 
parentFrame() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Change focus to the parent context.
partialLinkText(String) - Static method in class org.openqa.selenium.By
 
path(String) - Method in class org.openqa.selenium.Cookie.Builder
 
Pause - Class in org.openqa.selenium.interactions
Indicates that a given InputSource should pause for a given duration.
Pause(InputSource, Duration) - Constructor for class org.openqa.selenium.interactions.Pause
 
perform() - Method in interface org.openqa.selenium.interactions.Action
 
perform(Collection<Sequence>) - Method in interface org.openqa.selenium.interactions.Interactive
 
Platform - Enum in org.openqa.selenium
Represents the known and supported Platforms that WebDriver runs on.
Point - Class in org.openqa.selenium
A copy of java.awt.Point, to remove dependency on awt.
Point(int, int) - Constructor for class org.openqa.selenium.Point
 
pressKey(CharSequence) - Method in interface org.openqa.selenium.interactions.Keyboard
Press a key on the keyboard that isn't text.
Proxy - Class in org.openqa.selenium
Configuration parameters for using proxies in WebDriver.
Proxy() - Constructor for class org.openqa.selenium.Proxy
 
Proxy(Map<String, ?>) - Constructor for class org.openqa.selenium.Proxy
 
Proxy.ProxyType - Enum in org.openqa.selenium
 

Q

quit() - Method in interface org.openqa.selenium.WebDriver
Quits this driver, closing every associated window.

R

Rectangle - Class in org.openqa.selenium
 
Rectangle(int, int, int, int) - Constructor for class org.openqa.selenium.Rectangle
 
Rectangle(Point, Dimension) - Constructor for class org.openqa.selenium.Rectangle
 
refresh() - Method in interface org.openqa.selenium.WebDriver.Navigation
Refresh the current page
releaseKey(CharSequence) - Method in interface org.openqa.selenium.interactions.Keyboard
Release a key on the keyboard that isn't text.
removeItem(String) - Method in interface org.openqa.selenium.html5.LocalStorage
 
removeItem(String) - Method in interface org.openqa.selenium.html5.SessionStorage
 
resetInputState() - Method in interface org.openqa.selenium.interactions.Interactive
 
Rotatable - Interface in org.openqa.selenium
Represents rotation of the browser view for orientation-sensitive devices.
rotate(ScreenOrientation) - Method in interface org.openqa.selenium.Rotatable
Changes the orientation of the browser window.
rotate(DeviceRotation) - Method in interface org.openqa.selenium.Rotatable
Changes the rotation of the browser window.
rotation() - Method in interface org.openqa.selenium.Rotatable
 

S

ScreenOrientation - Enum in org.openqa.selenium
Represents possible screen orientations.
ScriptTimeoutException - Exception in org.openqa.selenium
Thrown when an async execute script command does not complete in enough time.
ScriptTimeoutException() - Constructor for exception org.openqa.selenium.ScriptTimeoutException
 
ScriptTimeoutException(String) - Constructor for exception org.openqa.selenium.ScriptTimeoutException
 
ScriptTimeoutException(Throwable) - Constructor for exception org.openqa.selenium.ScriptTimeoutException
 
ScriptTimeoutException(String, Throwable) - Constructor for exception org.openqa.selenium.ScriptTimeoutException
 
scroll(Coordinates, int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Creates a scroll gesture that starts on a particular screen location.
scroll(int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the view to be scrolled by an x and y offset.
SearchContext - Interface in org.openqa.selenium
 
sendKeys(String) - Method in interface org.openqa.selenium.Alert
 
sendKeys(CharSequence...) - Method in interface org.openqa.selenium.interactions.Keyboard
Sends keys to the keyboard representation in the browser.
sendKeys(CharSequence...) - Method in interface org.openqa.selenium.WebElement
Use this method to simulate typing into an element, which may set its value.
Sequence - Class in org.openqa.selenium.interactions
A sequence of action objects for a given InputSource for use with the W3C Action commands.
Sequence(InputSource, int) - Constructor for class org.openqa.selenium.interactions.Sequence
 
SESSION_ID - Static variable in exception org.openqa.selenium.WebDriverException
 
SessionNotCreatedException - Exception in org.openqa.selenium
Indicates that a session could not be created.
SessionNotCreatedException(String) - Constructor for exception org.openqa.selenium.SessionNotCreatedException
 
SessionNotCreatedException(String, Throwable) - Constructor for exception org.openqa.selenium.SessionNotCreatedException
 
SessionStorage - Interface in org.openqa.selenium.html5
Represents the session storage in the browser for the site currently opened in the browser.
setAutodetect(boolean) - Method in class org.openqa.selenium.Proxy
Specifies whether to autodetect proxy settings.
setCapability(String, boolean) - Method in class org.openqa.selenium.MutableCapabilities
 
setCapability(String, String) - Method in class org.openqa.selenium.MutableCapabilities
 
setCapability(String, Platform) - Method in class org.openqa.selenium.MutableCapabilities
 
setCapability(String, Object) - Method in class org.openqa.selenium.MutableCapabilities
 
setFtpProxy(String) - Method in class org.openqa.selenium.Proxy
Specify which proxy to use for FTP connections.
setHeight(int) - Method in class org.openqa.selenium.Rectangle
 
setHttpProxy(String) - Method in class org.openqa.selenium.Proxy
Specify which proxy to use for HTTP connections.
setItem(String, String) - Method in interface org.openqa.selenium.html5.LocalStorage
 
setItem(String, String) - Method in interface org.openqa.selenium.html5.SessionStorage
 
setLocation(Location) - Method in interface org.openqa.selenium.html5.LocationContext
Sets the physical location.
setNetworkConnection(NetworkConnection.ConnectionType) - Method in interface org.openqa.selenium.mobile.NetworkConnection
Set the Connection type Not all connection type combinations are valid for an individual type of device and the remote endpoint will make a best effort to set the type as requested
setNoProxy(String) - Method in class org.openqa.selenium.Proxy
Sets proxy bypass (noproxy) addresses
setPosition(Point) - Method in interface org.openqa.selenium.WebDriver.Window
Set the position of the current window.
setProxyAutoconfigUrl(String) - Method in class org.openqa.selenium.Proxy
Specifies the URL to be used for proxy auto-configuration.
setProxyType(Proxy.ProxyType) - Method in class org.openqa.selenium.Proxy
Explicitly sets the proxy type, useful for forcing direct connection on Linux.
setScriptTimeout(long, TimeUnit) - Method in interface org.openqa.selenium.WebDriver.Timeouts
Sets the amount of time to wait for an asynchronous script to finish execution before throwing an error.
setSize(Dimension) - Method in interface org.openqa.selenium.WebDriver.Window
Set the size of the current window.
setSocksPassword(String) - Method in class org.openqa.selenium.Proxy
Specifies a password for the SOCKS proxy.
setSocksProxy(String) - Method in class org.openqa.selenium.Proxy
Specifies which proxy to use for SOCKS.
setSocksUsername(String) - Method in class org.openqa.selenium.Proxy
Specifies a username for the SOCKS proxy.
setSocksVersion(Integer) - Method in class org.openqa.selenium.Proxy
Specifies which version of SOCKS to use (4 or 5).
setSslProxy(String) - Method in class org.openqa.selenium.Proxy
Specify which proxy to use for SSL connections.
setWidth(int) - Method in class org.openqa.selenium.Rectangle
 
setX(int) - Method in class org.openqa.selenium.Rectangle
 
setY(int) - Method in class org.openqa.selenium.Rectangle
 
singleTap(Coordinates) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of single tap on the screen, analogous to click using a Mouse.
size() - Method in interface org.openqa.selenium.html5.LocalStorage
 
size() - Method in interface org.openqa.selenium.html5.SessionStorage
 
SourceType - Enum in org.openqa.selenium.interactions
One of the allowing types for an InputSource.
StaleElementReferenceException - Exception in org.openqa.selenium
Indicates that a reference to an element is now "stale" --- the element no longer appears on the DOM of the page.
StaleElementReferenceException(String) - Constructor for exception org.openqa.selenium.StaleElementReferenceException
 
StaleElementReferenceException(String, Throwable) - Constructor for exception org.openqa.selenium.StaleElementReferenceException
 
submit() - Method in interface org.openqa.selenium.WebElement
If this current element is a form, or an element within a form, then this will be submitted to the remote server.
subSequence(int, int) - Method in enum org.openqa.selenium.Keys
 
switchTo() - Method in interface org.openqa.selenium.WebDriver
Send future commands to a different frame or window.

T

tagName(String) - Static method in class org.openqa.selenium.By
 
TakesScreenshot - Interface in org.openqa.selenium
Indicates a driver that can capture a screenshot and store it in different ways.
TimeoutException - Exception in org.openqa.selenium
Thrown when a command does not complete in enough time.
TimeoutException() - Constructor for exception org.openqa.selenium.TimeoutException
 
TimeoutException(String) - Constructor for exception org.openqa.selenium.TimeoutException
 
TimeoutException(Throwable) - Constructor for exception org.openqa.selenium.TimeoutException
 
TimeoutException(String, Throwable) - Constructor for exception org.openqa.selenium.TimeoutException
 
timeouts() - Method in interface org.openqa.selenium.WebDriver.Options
 
to(String) - Method in interface org.openqa.selenium.WebDriver.Navigation
Load a new web page in the current browser window.
to(URL) - Method in interface org.openqa.selenium.WebDriver.Navigation
Overloaded version of WebDriver.Navigation.to(String) that makes it easy to pass in a URL.
toJson() - Method in class org.openqa.selenium.Cookie
 
toJson() - Method in class org.openqa.selenium.interactions.Sequence
 
toJson() - Method in class org.openqa.selenium.logging.LogEntries
 
toJson() - Method in class org.openqa.selenium.logging.LogEntry
 
toJson() - Method in class org.openqa.selenium.logging.LoggingPreferences
 
toJson() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
toJson() - Method in class org.openqa.selenium.Proxy
 
toLevel(String) - Static method in class org.openqa.selenium.logging.LogLevelMapping
 
toString() - Method in enum org.openqa.selenium.Architecture
 
toString() - Method in class org.openqa.selenium.By.ByClassName
 
toString() - Method in class org.openqa.selenium.By.ByCssSelector
 
toString() - Method in class org.openqa.selenium.By.ById
 
toString() - Method in class org.openqa.selenium.By.ByLinkText
 
toString() - Method in class org.openqa.selenium.By.ByName
 
toString() - Method in class org.openqa.selenium.By.ByPartialLinkText
 
toString() - Method in class org.openqa.selenium.By.ByTagName
 
toString() - Method in class org.openqa.selenium.By.ByXPath
 
toString() - Method in class org.openqa.selenium.By
 
toString() - Method in class org.openqa.selenium.Cookie
 
toString() - Method in class org.openqa.selenium.Dimension
 
toString() - Method in class org.openqa.selenium.html5.Location
 
toString() - Method in class org.openqa.selenium.internal.BuildInfo
 
toString() - Method in enum org.openqa.selenium.internal.ElementScrollBehavior
 
toString() - Method in enum org.openqa.selenium.Keys
 
toString() - Method in class org.openqa.selenium.logging.LogEntry
 
toString() - Method in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
toString() - Method in enum org.openqa.selenium.PageLoadStrategy
 
toString() - Method in class org.openqa.selenium.Point
 
toString() - Method in class org.openqa.selenium.Proxy
 
toString() - Method in enum org.openqa.selenium.UnexpectedAlertBehaviour
 
TouchScreen - Interface in org.openqa.selenium.interactions
Interface representing basic touch screen operations.

U

UnableToSetCookieException - Exception in org.openqa.selenium
Thrown when a driver fails to set a cookie.
UnableToSetCookieException() - Constructor for exception org.openqa.selenium.UnableToSetCookieException
 
UnableToSetCookieException(String) - Constructor for exception org.openqa.selenium.UnableToSetCookieException
 
UnableToSetCookieException(Throwable) - Constructor for exception org.openqa.selenium.UnableToSetCookieException
 
UnableToSetCookieException(String, Throwable) - Constructor for exception org.openqa.selenium.UnableToSetCookieException
 
UnexpectedAlertBehaviour - Enum in org.openqa.selenium
 
UnhandledAlertException - Exception in org.openqa.selenium
 
UnhandledAlertException(String) - Constructor for exception org.openqa.selenium.UnhandledAlertException
 
UnhandledAlertException(String, String) - Constructor for exception org.openqa.selenium.UnhandledAlertException
 
UnsupportedCommandException - Exception in org.openqa.selenium
Used to indicate that a command used by the remote webdriver is unsupported.
UnsupportedCommandException() - Constructor for exception org.openqa.selenium.UnsupportedCommandException
 
UnsupportedCommandException(String) - Constructor for exception org.openqa.selenium.UnsupportedCommandException
 
UnsupportedCommandException(Throwable) - Constructor for exception org.openqa.selenium.UnsupportedCommandException
 
UnsupportedCommandException(String, Throwable) - Constructor for exception org.openqa.selenium.UnsupportedCommandException
 
up(int, int) - Method in interface org.openqa.selenium.interactions.TouchScreen
Allows the execution of the gesture 'up' on the screen.

V

validate() - Method in class org.openqa.selenium.Cookie
 
value() - Method in enum org.openqa.selenium.html5.AppCacheStatus
 
value() - Method in enum org.openqa.selenium.ScreenOrientation
 
valueOf(String) - Static method in enum org.openqa.selenium.Architecture
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.interactions.SourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.internal.ElementScrollBehavior
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.Keys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.PageLoadStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.Platform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.Proxy.ProxyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.ScreenOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.UnexpectedAlertBehaviour
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.openqa.selenium.Architecture
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.html5.AppCacheStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.interactions.SourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.internal.ElementScrollBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.Keys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.PageLoadStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.Proxy.ProxyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.ScreenOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openqa.selenium.UnexpectedAlertBehaviour
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebDriver - Interface in org.openqa.selenium
The main interface to use for testing, which represents an idealised web browser.
WebDriver.ImeHandler - Interface in org.openqa.selenium
An interface for managing input methods.
WebDriver.Navigation - Interface in org.openqa.selenium
 
WebDriver.Options - Interface in org.openqa.selenium
An interface for managing stuff you would do in a browser menu
WebDriver.TargetLocator - Interface in org.openqa.selenium
Used to locate a given frame or window.
WebDriver.Timeouts - Interface in org.openqa.selenium
An interface for managing timeout behavior for WebDriver instances.
WebDriver.Window - Interface in org.openqa.selenium
 
WebDriverException - Exception in org.openqa.selenium
 
WebDriverException() - Constructor for exception org.openqa.selenium.WebDriverException
 
WebDriverException(String) - Constructor for exception org.openqa.selenium.WebDriverException
 
WebDriverException(Throwable) - Constructor for exception org.openqa.selenium.WebDriverException
 
WebDriverException(String, Throwable) - Constructor for exception org.openqa.selenium.WebDriverException
 
WebElement - Interface in org.openqa.selenium
Represents an HTML element.
WebStorage - Interface in org.openqa.selenium.html5
 
width - Variable in class org.openqa.selenium.Dimension
 
width - Variable in class org.openqa.selenium.Rectangle
 
WIFI - Static variable in class org.openqa.selenium.mobile.NetworkConnection.ConnectionType
 
window() - Method in interface org.openqa.selenium.WebDriver.Options
 
window(String) - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Switch the focus of future commands for this driver to the window with the given name/handle.
WrapsDriver - Interface in org.openqa.selenium.internal
This interface indicates that the implementing class knows about the driver that contains it and can export it.
WrapsElement - Interface in org.openqa.selenium.internal
Indicates that there is an underlying element that can be used

X

x - Variable in class org.openqa.selenium.Point
 
x - Variable in class org.openqa.selenium.Rectangle
 
xpath(String) - Static method in class org.openqa.selenium.By
 

Y

y - Variable in class org.openqa.selenium.Point
 
y - Variable in class org.openqa.selenium.Rectangle
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links