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

A

accept() - Method in interface org.openqa.selenium.Alert
 
activeElement() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
Switches to the element that currently has focus, or the body element if this cannot be detected.
addCookie(Cookie) - Method in interface org.openqa.selenium.WebDriver.Options
Add a specific cookie.
Alert - Interface in org.openqa.selenium
 

B

back() - Method in interface org.openqa.selenium.WebDriver.Navigation
Move back a single "item" in the browser's history.
build() - Method in class org.openqa.selenium.Cookie.Builder
 
By - Class in org.openqa.selenium
Mechanism used to locate elements within a document.
By() - Constructor for class org.openqa.selenium.By
 

C

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".
className(String) - Static method in class org.openqa.selenium.By
Finds elements based on the value of the "class" attribute.
Cleanly - Class in org.openqa.selenium.internal
 
Cleanly() - Constructor for class org.openqa.selenium.internal.Cleanly
 
clear() - Method in interface org.openqa.selenium.WebElement
If this element is a text entry element, this will clear the value.
click() - Method in interface org.openqa.selenium.WebElement
Click this element.
close(Channel) - Static method in class org.openqa.selenium.internal.Cleanly
 
close(InputStream) - Static method in class org.openqa.selenium.internal.Cleanly
 
close(OutputStream) - Static method in class org.openqa.selenium.internal.Cleanly
 
close(Reader) - Static method in class org.openqa.selenium.internal.Cleanly
 
close(Writer) - Static method in class org.openqa.selenium.internal.Cleanly
 
close() - Method in interface org.openqa.selenium.WebDriver
Close the current window, quitting the browser if it's the last window currently open.
Cookie - Class in org.openqa.selenium
 
Cookie(String, String, String, Date) - Constructor for class org.openqa.selenium.Cookie
Creates a cookie.
Cookie(String, String, String, String, Date) - Constructor for class org.openqa.selenium.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
 
Cookie.Builder(String, String) - Constructor for class org.openqa.selenium.Cookie.Builder
 
copy(File, File) - Static method in class org.openqa.selenium.internal.FileHandler
 
copyResource(File, Class, String...) - Static method in class org.openqa.selenium.internal.FileHandler
 
createDir(File) - Static method in class org.openqa.selenium.internal.FileHandler
 
createTempDir(String, String) - Static method in class org.openqa.selenium.internal.TemporaryFilesystem
Create a temporary directory, and track it for deletion.

D

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.
delete(File) - Static method in class org.openqa.selenium.internal.FileHandler
 
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.
deleteTempDir(File) - Static method in class org.openqa.selenium.internal.TemporaryFilesystem
Delete a temporary directory that we were responsible for creating.
deleteTemporaryFiles() - Static method in class org.openqa.selenium.internal.TemporaryFilesystem
Perform the operation that a shutdown hook would have.
dimiss() - Method in interface org.openqa.selenium.Alert
 
domain(String) - Method in class org.openqa.selenium.Cookie.Builder
 
dragAndDropBy(int, int) - Method in interface org.openqa.selenium.RenderedWebElement
Drag and drop
dragAndDropOn(RenderedWebElement) - Method in interface org.openqa.selenium.RenderedWebElement
Drag and drop this element on top of the specified element

E

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
 
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
executeScript(String, Object...) - Method in interface org.openqa.selenium.JavascriptExecutor
Execute javascript in the context of the currently selected frame or window.
expiresOn(Date) - Method in class org.openqa.selenium.Cookie.Builder
 
extractFromSysProperty(String) - Static method in enum org.openqa.selenium.Platform
 

F

FileHandler - Class in org.openqa.selenium.internal
Utility methods for common filesystem activities
FileHandler() - Constructor for class org.openqa.selenium.internal.FileHandler
 
findElement(SearchContext) - Method in class org.openqa.selenium.By
Find a single element.
findElement(WebDriver) - Method in class org.openqa.selenium.By
Deprecated. use findElement(SearchContext) instead
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
 
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
Find many elements.
findElements(WebDriver) - Method in class org.openqa.selenium.By
Deprecated. use findElements(SearchContext) instead
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
 
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
 
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
 
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.

G

get(String) - Method in interface org.openqa.selenium.WebDriver
Load a new web page in the current browser window.
getAttribute(String) - Method in interface org.openqa.selenium.WebElement
Get the value of a the given attribute of the element.
getCookies() - Method in interface org.openqa.selenium.WebDriver.Options
Get all the cookies for the current domain.
getCurrent() - Static method in enum org.openqa.selenium.Platform
 
getCurrentUrl() - Method in interface org.openqa.selenium.WebDriver
Get a string representing the current URL that the browser is looking at.
getDomain() - Method in class org.openqa.selenium.Cookie
 
getDriverInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getElementName() - Method in interface org.openqa.selenium.WebElement
Deprecated. Use WebElement.getTagName() instead, this method will be removed in the near future.
getExpiry() - Method in class org.openqa.selenium.Cookie
 
getLineEnding() - Method in enum org.openqa.selenium.Platform
 
getLocation() - Method in interface org.openqa.selenium.RenderedWebElement
Where on the page is the top left-hand corner of the rendered element?
getLocationOnScreenOnceScrolledIntoView() - Method in interface org.openqa.selenium.internal.Locatable
Use this to discover where on the screen an element is so that we can click it.
getMessage() - Method in exception org.openqa.selenium.WebDriverException
 
getName() - Method in class org.openqa.selenium.Cookie
 
getPageSource() - Method in interface org.openqa.selenium.WebDriver
Get the source of the last loaded page.
getPath() - Method in class org.openqa.selenium.Cookie
 
getSize() - Method in interface org.openqa.selenium.RenderedWebElement
What is the width and height of the rendered element?
getSpeed() - Method in interface org.openqa.selenium.WebDriver.Options
Gets the mouse speed for drag and drop
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 innerText of this element, without any leading or trailing whitespace.
getTimeOut() - Method in enum org.openqa.selenium.Speed
 
getTitle() - Method in interface org.openqa.selenium.WebDriver
The title of the current page.
getValue() - Method in class org.openqa.selenium.Cookie
 
getValue() - Method in interface org.openqa.selenium.WebElement
Get the value of the element's "value" attribute.
getValueOfCssProperty(String) - Method in interface org.openqa.selenium.RenderedWebElement
Get the value of a given CSS property.
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 #switchTo().window(String)

H

hashCode() - Method in class org.openqa.selenium.By
 
hashCode() - Method in class org.openqa.selenium.Cookie
 

I

id(String) - Static method in class org.openqa.selenium.By
 
IllegalLocatorException - Exception in org.openqa.selenium
Thrown when a By cannot handle the arguments it is given.
IllegalLocatorException(String) - Constructor for exception org.openqa.selenium.IllegalLocatorException
 
IllegalLocatorException(String, Throwable) - Constructor for exception org.openqa.selenium.IllegalLocatorException
 
is(Platform) - Method in enum org.openqa.selenium.Platform
 
isDisplayed() - Method in interface org.openqa.selenium.RenderedWebElement
Is this element displayed or not?
isEnabled() - Method in interface org.openqa.selenium.WebElement
Is the element currently enabled or not?
isJavascriptEnabled() - Method in interface org.openqa.selenium.JavascriptExecutor
It's not enough to simply support javascript, it also needs to be enabled too.
isSecure() - Method in class org.openqa.selenium.Cookie
 
isSecure() - Method in class org.openqa.selenium.internal.ReturnedCookie
 
isSelected() - Method in interface org.openqa.selenium.WebElement
Determine whether or not this element is selected or not.
isZipped(String) - Static method in class org.openqa.selenium.internal.FileHandler
 

J

JavascriptExecutor - Interface in org.openqa.selenium
Indicates that a driver can execute Javascript, providing access to the mechanism to do so.

K

Keys - Enum in org.openqa.selenium
Representations of pressable keys that aren't text.

L

length() - Method in enum org.openqa.selenium.Keys
 
linkText(String) - Static method in class org.openqa.selenium.By
 
Locatable - Interface in org.openqa.selenium.internal
 

M

makeWritable(File) - Static method in class org.openqa.selenium.internal.FileHandler
 
manage() - Method in interface org.openqa.selenium.WebDriver
Gets the Option interface

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.
NoSuchElementException - Exception in org.openqa.selenium
Thrown by WebDriver.findElement(By by) and WebElement.findElement(By by).
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
Thrown by WebDriver.switchTo().frame(int frameIndex) and WebDriver.switchTo().frame(String frameName).
NoSuchFrameException(String) - Constructor for exception org.openqa.selenium.NoSuchFrameException
 
NoSuchWindowException - Exception in org.openqa.selenium
Thrown by WebDriver.switchTo().window(String windowName).
NoSuchWindowException(String) - 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

org.openqa.selenium - package org.openqa.selenium
 
org.openqa.selenium.internal - package org.openqa.selenium.internal
 

P

partialLinkText(String) - Static method in class org.openqa.selenium.By
 
path(String) - Method in class org.openqa.selenium.Cookie.Builder
 
Platform - Enum in org.openqa.selenium
Represents the known and supported Platforms that WebDriver runs on.

Q

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

R

refresh() - Method in interface org.openqa.selenium.WebDriver.Navigation
Refresh the current page
RenderedWebElement - Interface in org.openqa.selenium
 
ReturnedCookie - Class in org.openqa.selenium.internal
 
ReturnedCookie(String, String, String, String, Date, boolean) - Constructor for class org.openqa.selenium.internal.ReturnedCookie
 

S

SearchContext - Interface in org.openqa.selenium
 
sendKeys(CharSequence...) - Method in interface org.openqa.selenium.WebElement
Use this method to simulate typing into an element, which may set its value.
setSelected() - Method in interface org.openqa.selenium.WebElement
Select an element.
setSpeed(Speed) - Method in interface org.openqa.selenium.WebDriver.Options
Sets the speed for user input
Speed - Enum in org.openqa.selenium
 
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
 
TemporaryFilesystem - Class in org.openqa.selenium.internal
A wrapper around temporary filesystem behaviour.
timeOut - Variable in enum org.openqa.selenium.Speed
 
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.
toggle() - Method in interface org.openqa.selenium.WebElement
If the element is a checkbox this will toggle the elements state from selected to not selected, or from not selected to selected.
toString() - Method in class org.openqa.selenium.Cookie
 
toString() - Method in class org.openqa.selenium.internal.ReturnedCookie
 
toString() - Method in enum org.openqa.selenium.Keys
 

U

UnhandledAlertException - Exception in org.openqa.selenium
 
UnhandledAlertException() - Constructor for exception org.openqa.selenium.UnhandledAlertException
 
unzip(InputStream) - Static method in class org.openqa.selenium.internal.FileHandler
 

V

validate() - Method in class org.openqa.selenium.Cookie
 
validate() - Method in class org.openqa.selenium.internal.ReturnedCookie
 
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.Platform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openqa.selenium.Speed
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.openqa.selenium.Keys
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.openqa.selenium.Platform
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.openqa.selenium.Speed
Returns an array containing the constants of this enum type, in the order they're declared.

W

WebDriver - Interface in org.openqa.selenium
The main interface to use for testing, which represents an idealised web browser.
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.
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.
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

X

xpath(String) - Static method in class org.openqa.selenium.By
 

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

Copyright © 2009. All Rights Reserved.