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.
addCustomRequestHeader(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Tells the Selenium server to add the specificed key and value as a custom outgoing request header.
addLocationStrategy(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Defines a new function for Selenium to locate elements on the page.
addScript(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Loads script content into a new script tag in the Selenium document.
addSelection(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Add a selection to the set of selected options in a multi-select element using an option locator.
Alert - Interface in org.openqa.selenium
 
allowNativeXpath(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies whether Selenium should use the native in-browser implementation of XPath (if any native version is available); if you pass "false" to this function, we will always use our pure-JavaScript xpath library.
altKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the alt key and hold it down until doAltUp() is called or a new page is loaded.
altKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the alt key.
answerOnNextPrompt(String) - Method in interface com.thoughtworks.selenium.Selenium
Instructs Selenium to return the specified answer string in response to the next JavaScript prompt [window.prompt()].
assignId(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Temporarily sets the "id" attribute of the specified element, so you can locate it in the future using its ID rather than a slow/complicated XPath.
attachFile(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Sets a file input (upload) field to the file listed in fileLocator

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.
Base64Encoder - Class in org.openqa.selenium.internal
Encodes binary data to plain text as Base64.
Base64Encoder() - Constructor for class org.openqa.selenium.internal.Base64Encoder
 
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
 
BYTES - Static variable in interface org.openqa.selenium.OutputType
Obtain the screenshot as raw bytes.

C

captureEntirePageScreenshot(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Saves the entire contents of the current window canvas to a PNG file.
captureEntirePageScreenshotToString(String) - Method in interface com.thoughtworks.selenium.Selenium
Downloads a screenshot of the browser current window canvas to a based 64 encoded PNG file.
captureNetworkTraffic(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the network traffic seen by the browser, including headers, AJAX requests, status codes, and timings.
captureScreenshot(String) - Method in interface com.thoughtworks.selenium.Selenium
Captures a PNG screenshot to the specified file.
captureScreenshotToString() - Method in interface com.thoughtworks.selenium.Selenium
Capture a PNG screenshot.
charAt(int) - Method in enum org.openqa.selenium.Keys
 
check(String) - Method in interface com.thoughtworks.selenium.Selenium
Check a toggle-button (checkbox/radio)
chooseCancelOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
By default, Selenium's overridden window.confirm() function will return true, as if the user had manually clicked OK; after running this command, the next call to confirm() will return false, as if the user had clicked Cancel.
chooseOkOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Undo the effect of calling chooseCancelOnNextConfirmation.
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(String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
click() - Method in interface org.openqa.selenium.WebElement
Click this element.
clickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
close() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
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.
com.thoughtworks.selenium - package com.thoughtworks.selenium
 
CommandProcessor - Interface in com.thoughtworks.selenium
Provides a doCommand method, which sends the command to the browser to be performed.
contextMenu(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates opening the context menu for the specified element (as might happen if the user "right-clicked" on the element).
contextMenuAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates opening the context menu for the specified element (as might happen if the user "right-clicked" on the element).
controlKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the control key and hold it down until doControlUp() is called or a new page is loaded.
controlKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the control key.
convertFromBase64Png(String) - Method in interface org.openqa.selenium.OutputType
Convert the given base64 png to a requested format.
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
 
createCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Create a new cookie whose path and domain are same with those of current page under test, unless you specified a path for this cookie explicitly.
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.
cssSelector(String) - Static method in class org.openqa.selenium.By
Finds elements via the driver's underlying W3 Selector engine.

D

decode(String) - Method in class org.openqa.selenium.internal.Base64Encoder
 
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.
deleteAllVisibleCookies() - Method in interface com.thoughtworks.selenium.Selenium
Calls deleteCookie with recurse=true on all cookies visible to the current page.
deleteCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Delete a named cookie with specified path and 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.
deselectPopUp() - Method in interface com.thoughtworks.selenium.Selenium
Selects the main window.
dismiss() - Method in interface org.openqa.selenium.Alert
 
doCommand(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
Send the specified remote command to the browser to be performed
domain(String) - Method in class org.openqa.selenium.Cookie.Builder
 
doubleClick(String) - Method in interface com.thoughtworks.selenium.Selenium
Double clicks on a link, button, checkbox or radio button.
doubleClickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Doubleclicks on a link, button, checkbox or radio button.
dragAndDrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element a certain distance and then drops it
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
dragAndDropToObject(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element and drops it on another element
dragdrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
deprecated - use dragAndDrop instead

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
 
encode(byte[]) - Method in class org.openqa.selenium.internal.Base64Encoder
 
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

FILE - Static variable in interface org.openqa.selenium.OutputType
Obtain the screenshot into a temporary file that will be deleted once the JVM exits.
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(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
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
 
fireEvent(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
focus(String) - Method in interface com.thoughtworks.selenium.Selenium
Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field.
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.
getAlert() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript alert generated during the previous action, or fail if there were no alerts.
getAllButtons() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all buttons on the page.
getAllFields() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all input fields on the page.
getAllLinks() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all links on the page.
getAllWindowIds() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all windows that the browser knows about.
getAllWindowNames() - Method in interface com.thoughtworks.selenium.Selenium
Returns the names of all windows that the browser knows about.
getAllWindowTitles() - Method in interface com.thoughtworks.selenium.Selenium
Returns the titles of all windows that the browser knows about.
getAttribute(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the value of an element attribute.
getAttribute(String) - Method in interface org.openqa.selenium.WebElement
Get the value of a the given attribute of the element.
getAttributeFromAllWindows(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns every instance of some attribute from all known windows.
getBodyText() - Method in interface com.thoughtworks.selenium.Selenium
Gets the entire text of the page.
getBoolean(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getBooleanArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
getCookie() - Method in interface com.thoughtworks.selenium.Selenium
Return all cookies of the current page under test.
getCookieByName(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the value of the cookie with the specified name, or throws an error if the cookie is not present.
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.
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.
getCursorPosition(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the text cursor position in the given input element or textarea; beware, this may not work perfectly on all browsers.
getDomain() - Method in class org.openqa.selenium.Cookie
 
getDriverInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getElementHeight(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the height of an element
getElementIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
Get the relative index of an element to its parent (starting from 0).
getElementPositionLeft(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the horizontal position of an element
getElementPositionTop(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the vertical position of an element
getElementWidth(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the width of an element
getEval(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the result of evaluating the specified JavaScript snippet.
getExpiry() - Method in class org.openqa.selenium.Cookie
 
getExpression(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the specified expression.
getHtmlSource() - Method in interface com.thoughtworks.selenium.Selenium
Returns the entire HTML source between the opening and closing "html" tags.
getLocation() - Method in interface com.thoughtworks.selenium.Selenium
Gets the absolute URL of the current page.
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.
getLog() - Method in interface com.thoughtworks.selenium.Selenium
Get RC logs associated with this session.
getMajorVersion() - Method in enum org.openqa.selenium.Platform
 
getMessage() - Method in exception org.openqa.selenium.WebDriverException
 
getMinorVersion() - Method in enum org.openqa.selenium.Platform
 
getMouseSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
getName() - Method in class org.openqa.selenium.Cookie
 
getNumber(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getNumberArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getPageSource() - Method in interface org.openqa.selenium.WebDriver
Get the source of the last loaded page.
getPath() - Method in class org.openqa.selenium.Cookie
 
getPrivateLocalAddress() - Static method in class org.openqa.selenium.NetworkUtils
 
getPrompt() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript question prompt dialog generated during the previous action.
getRemoteControlServerLocation() - Method in interface com.thoughtworks.selenium.CommandProcessor
The URL that the RemoteControl instance is allegedly running on
getScreenshotAs(OutputType<X>) - Method in interface org.openqa.selenium.TakesScreenshot
Capture the screenshot and store it in the specified location.
getSelectedId(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option element ID for selected option in the specified select element.
getSelectedIds(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option element IDs for selected options in the specified select or multi-select element.
getSelectedIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option index (option number, starting at 0) for selected option in the specified select element.
getSelectedIndexes(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
getSelectedLabel(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option label (visible text) for selected option in the specified select element.
getSelectedLabels(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option labels (visible text) for selected options in the specified select or multi-select element.
getSelectedValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option value (value attribute) for selected option in the specified select element.
getSelectedValues(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option values (value attributes) for selected options in the specified select or multi-select element.
getSelectOptions(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option labels in the specified select drop-down.
getSize() - Method in interface org.openqa.selenium.RenderedWebElement
What is the width and height of the rendered element?
getSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Get execution speed (i.e., get the millisecond length of the delay following each selenium operation).
getSpeed() - Method in interface org.openqa.selenium.WebDriver.Options
Gets the mouse speed for drag and drop
getString(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getStringArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getSystemInformation() - Method in exception org.openqa.selenium.WebDriverException
 
getTable(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text from a cell of a table.
getTagName() - Method in interface org.openqa.selenium.WebElement
Get the tag name of this element.
getText(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text of an 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 com.thoughtworks.selenium.Selenium
Gets the title of the current page.
getTitle() - Method in interface org.openqa.selenium.WebDriver
The title of the current page.
getValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter).
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.
getWhetherThisFrameMatchFrameExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Determine whether current/locator identify the frame containing this running code.
getWhetherThisWindowMatchWindowExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Determine whether currentWindowString plus target identify the window containing this running code.
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)
getWrappedElement() - Method in interface org.openqa.selenium.internal.WrapsElement
 
getXpathCount(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of nodes that match the specified xpath, eg.
goBack() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "back" button on their browser.

H

hashCode() - Method in class org.openqa.selenium.By
 
hashCode() - Method in class org.openqa.selenium.Cookie
 
highlight(String) - Method in interface com.thoughtworks.selenium.Selenium
Briefly changes the backgroundColor of the specified element yellow.
hover() - Method in interface org.openqa.selenium.RenderedWebElement
Simulate hovering the mouse over an element.

I

id(String) - Static method in class org.openqa.selenium.By
 
ignoreAttributesWithoutValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies whether Selenium will ignore xpath attributes that have no value, i.e. are the empty string, when using the non-native xpath evaluation engine.
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
 
isAlertPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has an alert occurred?
isChecked(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets whether a toggle-button (checkbox/radio) is checked.
isConfirmationPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has confirm() been called?
isCookiePresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns true if a cookie with the specified name is present, or false otherwise.
isDisplayed() - Method in interface org.openqa.selenium.RenderedWebElement
Is this element displayed or not?
isEditable(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines whether the specified input element is editable, ie hasn't been disabled.
isElementPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Verifies that the specified element is somewhere on the page.
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.
isOrdered(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Check if these two elements have same parent and are ordered siblings in the DOM.
isPromptPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has a prompt occurred?
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.
isSomethingSelected(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines whether some option in a drop-down menu is selected.
isTextPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
isVisible(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines if the specified element is visible.
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

keyDown(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing a key (without releasing it yet).
keyDownNative(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing a key (without releasing it yet) by sending a native operating system keystroke.
keyPress(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing and releasing a key.
keyPressNative(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing and releasing a key by sending a native operating system keystroke.
Keys - Enum in org.openqa.selenium
Representations of pressable keys that aren't text.
keyUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user releasing a key.
keyUpNative(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user releasing a key by sending a native operating system keystroke.

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
 
locateInProject(String) - Static method in class org.openqa.selenium.internal.FileHandler
Locates a file in the current project

M

makeWritable(File) - Static method in class org.openqa.selenium.internal.FileHandler
 
manage() - Method in interface org.openqa.selenium.WebDriver
Gets the Option interface
metaKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
metaKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the meta key.
mouseDown(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the left mouse button (without releasing it yet) on the specified element.
mouseDownAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the left mouse button (without releasing it yet) at the specified location.
mouseDownRight(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the right mouse button (without releasing it yet) on the specified element.
mouseDownRightAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the right mouse button (without releasing it yet) at the specified location.
mouseMove(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseMoveAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseOut(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user moving the mouse pointer away from the specified element.
mouseOver(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user hovering a mouse over the specified element.
mouseUp(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) on the specified element.
mouseUpAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) at the specified location.
mouseUpRight(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) on the specified element.
mouseUpRightAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) at the specified location.

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.
NetworkUtils - Class in org.openqa.selenium
 
NetworkUtils() - Constructor for class org.openqa.selenium.NetworkUtils
 
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
 
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

open(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Opens an URL in the test frame.
open(String) - Method in interface com.thoughtworks.selenium.Selenium
Opens an URL in the test frame.
openWindow(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Opens a popup window (if a window with that ID isn't already open).
org.openqa.selenium - package org.openqa.selenium
 
org.openqa.selenium.internal - package org.openqa.selenium.internal
 
OutputType<T> - Interface in org.openqa.selenium
Defines the output type for a screenshot.

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 com.thoughtworks.selenium.Selenium
Simulates the user clicking the "Refresh" button on their browser.
refresh() - Method in interface org.openqa.selenium.WebDriver.Navigation
Refresh the current page
removeAllSelections(String) - Method in interface com.thoughtworks.selenium.Selenium
Unselects all of the selected options in a multi-select element.
removeScript(String) - Method in interface com.thoughtworks.selenium.Selenium
Removes a script tag from the Selenium document identified by the given id.
removeSelection(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Remove a selection from the set of selected options in a multi-select element using an option locator.
RenderedWebElement - Interface in org.openqa.selenium
 
retrieveLastRemoteControlLogs() - Method in interface com.thoughtworks.selenium.Selenium
Retrieve the last messages logged on a specific remote control.
ReturnedCookie - Class in org.openqa.selenium.internal
 
ReturnedCookie(String, String, String, String, Date, boolean, String) - Constructor for class org.openqa.selenium.internal.ReturnedCookie
 
rollup(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Executes a command rollup, which is a series of commands with a unique name, and optionally arguments that control the generation of the set of commands.
runScript(String) - Method in interface com.thoughtworks.selenium.Selenium
Creates a new "script" tag in the body of the current test window, and adds the specified text into the body of the command.

S

SearchContext - Interface in org.openqa.selenium
 
select(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Select an option from a drop-down using an option locator.
selectFrame(String) - Method in interface com.thoughtworks.selenium.Selenium
Selects a frame within the current window.
selectPopUp(String) - Method in interface com.thoughtworks.selenium.Selenium
Simplifies the process of selecting a popup window (and does not offer functionality beyond what selectWindow() already provides).
selectWindow(String) - Method in interface com.thoughtworks.selenium.Selenium
Selects a popup window using a window locator; once a popup window has been selected, all commands go to that window.
Selenium - Interface in com.thoughtworks.selenium
Defines an object that runs Selenium commands.
SeleniumException - Exception in com.thoughtworks.selenium
Thrown when a Selenium command fails.
SeleniumException(String) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
SeleniumException(Exception) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
SeleniumException(String, Exception) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
sendKeys(CharSequence...) - Method in interface org.openqa.selenium.WebElement
Use this method to simulate typing into an element, which may set its value.
setBrowserLogLevel(String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the threshold for browser-side logging messages; log messages beneath this threshold will be discarded.
setContext(String) - Method in interface com.thoughtworks.selenium.Selenium
Writes a message to the status bar and adds a note to the browser-side log.
setCursorPosition(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Moves the text cursor to the specified position in the given input element or textarea.
setExtensionJs(String) - Method in interface com.thoughtworks.selenium.CommandProcessor
Sets extension Javascript for the session
setExtensionJs(String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the per-session extension Javascript
setMouseSpeed(String) - Method in interface com.thoughtworks.selenium.Selenium
Configure the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
setSelected() - Method in interface org.openqa.selenium.WebElement
Select an element.
setSpeed(String) - Method in interface com.thoughtworks.selenium.Selenium
Set execution speed (i.e., set the millisecond length of a delay which will follow each selenium operation).
setSpeed(Speed) - Method in interface org.openqa.selenium.WebDriver.Options
Sets the speed for user input
setTimeout(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies the amount of time that Selenium will wait for actions to complete.
shiftKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
shiftKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the shift key.
showContextualBanner() - Method in interface com.thoughtworks.selenium.Selenium
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname' where those two are derived from the caller The method name will be unCamelCased with the insertion of spaces at word boundaries
showContextualBanner(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname' The method name will be unCamelCased with the insertion of spaces at word boundaries
shutDownSeleniumServer() - Method in interface com.thoughtworks.selenium.Selenium
Kills the running Selenium Server and all browser sessions.
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
 
start() - Method in interface com.thoughtworks.selenium.CommandProcessor
Starts a new Selenium testing session
start(String) - Method in interface com.thoughtworks.selenium.CommandProcessor
Starts a new Selenium testing session with a String, representing a configuration
start(Object) - Method in interface com.thoughtworks.selenium.CommandProcessor
Starts a new Selenium testing session with a configuration options object
start() - Method in interface com.thoughtworks.selenium.Selenium
Launches the browser with a new Selenium session
start(String) - Method in interface com.thoughtworks.selenium.Selenium
Starts a new Selenium testing session with a String, representing a configuration
start(Object) - Method in interface com.thoughtworks.selenium.Selenium
Starts a new Selenium testing session with a configuration options object
stop() - Method in interface com.thoughtworks.selenium.CommandProcessor
Ends the current Selenium testing session (normally killing the browser)
stop() - Method in interface com.thoughtworks.selenium.Selenium
Ends the test session, killing the browser
submit(String) - Method in interface com.thoughtworks.selenium.Selenium
Submit the specified form.
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.
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
 
type(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the value of an input field, as though you typed it in.
typeKeys(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates keystroke events on the specified element, as though you typed the value key-by-key.

U

uncheck(String) - Method in interface com.thoughtworks.selenium.Selenium
Uncheck a toggle-button (checkbox/radio)
UnhandledAlertException - Exception in org.openqa.selenium
 
UnhandledAlertException(String) - Constructor for exception org.openqa.selenium.UnhandledAlertException
 
unzip(InputStream) - Static method in class org.openqa.selenium.internal.FileHandler
 
useXpathLibrary(String) - Method in interface com.thoughtworks.selenium.Selenium
Allows choice of one of the available libraries.

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 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.Speed
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForCondition(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
waitForFrameToLoad(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new frame to load.
waitForPageToLoad(String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new page to load.
waitForPopUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a popup window to appear and load up.
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
windowFocus() - Method in interface com.thoughtworks.selenium.Selenium
Gives focus to the currently selected window
windowMaximize() - Method in interface com.thoughtworks.selenium.Selenium
Resize currently selected window to take up the entire screen
WrapsElement - Interface in org.openqa.selenium.internal
Indicates that there is an underlying element that can be used

X

xpath(String) - Static method in class org.openqa.selenium.By
 
XPathLookupException - Exception in org.openqa.selenium
 
XPathLookupException() - Constructor for exception org.openqa.selenium.XPathLookupException
 
XPathLookupException(String) - Constructor for exception org.openqa.selenium.XPathLookupException
 
XPathLookupException(Throwable) - Constructor for exception org.openqa.selenium.XPathLookupException
 
XPathLookupException(String, Throwable) - Constructor for exception org.openqa.selenium.XPathLookupException
 

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.