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

A

addCustomRequestHeader(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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.
allowNativeXpath(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
altKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the alt key.
answerOnNextPrompt(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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()].
assertEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Like JUnit's Assert.assertEquals, but knows how to compare string arrays
assertEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Like JUnit's Assert.assertEquals, but handles "regexp:" strings like HTML Selenese
assertEquals(String, String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Like JUnit's Assert.assertEquals, but joins the string array with commas, and handles "regexp:" strings like HTML Selenese
assertEquals(String[], String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Asserts that two string arrays have identical string contents
assertEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but knows how to compare string arrays
assertEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but handles "regexp:" strings like HTML Selenese
assertEquals(String, String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but joins the string array with commas, and handles "regexp:" strings like HTML Selenese
assertEquals(String[], String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two string arrays have identical string contents
assertFalse(String, boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
assertFalse(boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
assertNotEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Asserts that two objects are not the same (compares using .equals())
assertNotEquals(boolean, boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Asserts that two booleans are not the same
assertNotEquals(boolean, boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two booleans are not the same
assertNotEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two objects are not the same (compares using .equals())
assertTrue(String, boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
assertTrue(boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
assignId(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
attachFile(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Sets a file input (upload) field to the file listed in fileLocator

B

BROWSER_EXECUTABLE_PATH - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
BROWSER_MODE - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
BrowserConfigurationOptions - Class in com.thoughtworks.selenium
Contains parameters for a single Selenium browser session.
BrowserConfigurationOptions() - Constructor for class com.thoughtworks.selenium.BrowserConfigurationOptions
Instantiate a blank BrowserConfigurationOptions instance.

C

canUse(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
captureEntirePageScreenshot(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
captureScreenshot(String) - Method in interface com.thoughtworks.selenium.Selenium
Captures a PNG screenshot to the specified file.
captureScreenshotToString() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
captureScreenshotToString() - Method in interface com.thoughtworks.selenium.Selenium
Capture a PNG screenshot.
check(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
check(String) - Method in interface com.thoughtworks.selenium.Selenium
Check a toggle-button (checkbox/radio)
checkForVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestBase
Asserts that there were no verification errors during the current test, failing immediately if any are found
checkForVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that there were no verification errors during the current test, failing immediately if any are found
chooseCancelOnNextConfirmation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
chooseOkOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Undo the effect of calling chooseCancelOnNextConfirmation.
clearVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestBase
Clears out the list of verification errors
clearVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Clears out the list of verification errors
click(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
click(String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
clickAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
clickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
close() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
close() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
closeResources(HttpURLConnection, Writer, Reader) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
com.thoughtworks.selenium - package com.thoughtworks.selenium
Provides the Selenium Java Client Driver classes.
com.thoughtworks.selenium.condition - package com.thoughtworks.selenium.condition
 
CommandProcessor - Interface in com.thoughtworks.selenium
Provides a doCommand method, which sends the command to the browser to be performed.
commandProcessor - Variable in class com.thoughtworks.selenium.DefaultSelenium
 
Condition - Class in com.thoughtworks.selenium.condition
Simple predicate class, which also knows how to wait for the condition to be true.
Condition() - Constructor for class com.thoughtworks.selenium.condition.Condition
Creates an instance of Condition with is canonical name as message
Condition(String, Object[]) - Constructor for class com.thoughtworks.selenium.condition.Condition
Creates an instance of Condition with the given message and args, which are in the String.format(String, Object...) modeal.
Condition(String) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
Condition(String, Object, Object, Object, Object, Object) - Constructor for class com.thoughtworks.selenium.condition.Condition
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
 
conditionFailed(ConditionRunner.Context, Condition, String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
ConditionRunner - Interface in com.thoughtworks.selenium.condition
A ConditionRunner is a class that can execute a Condition, which need certain basic pieces that it needs to execute (e.g.
ConditionRunner.Context - Interface in com.thoughtworks.selenium.condition
Used by implementations of ConditionRunner.waitFor(Condition) to provide context to the Condition#isTrue(com.google.testing.selenium.condition.ConditionRunner.Context) method
conditionWasReached(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
conditionWasReached(ConditionRunner.Context, Condition) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition) is successful (i.e.
conditionWasReached(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
contextMenu(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
controlKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the control key.
createCookie(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.

D

DEBUG - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
DEFAULT_INTERVAL - Static variable in class com.thoughtworks.selenium.Wait
The interval to pause between checking; the default is 500 milliseconds
DEFAULT_TIMEOUT - Static variable in class com.thoughtworks.selenium.Wait
The amount of time to wait before giving up; the default is 30 seconds
DEFAULT_TIMEOUT_IN_SECONDS - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
DefaultConditionRunner - Class in com.thoughtworks.selenium.condition

DefaultConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
DefaultConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
DefaultConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with a DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
Constructs an instance of this class with reasonable defaults.
DefaultConditionRunner.Log4jMonitor - Class in com.thoughtworks.selenium.condition
A Log4j implementation of DefaultConditionRunner.Monitor.
DefaultConditionRunner.Log4jMonitor() - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
DefaultConditionRunner.Monitor - Interface in com.thoughtworks.selenium.condition
A DefaultConditionRunner.Monitor can be installed in DefaultConditionRunner as an open ended way of being notified of certain events.
DefaultConditionRunner.NoOpMonitor - Class in com.thoughtworks.selenium.condition
A no-op implementation of DefaultConditionRunner.Monitor.
DefaultConditionRunner.NoOpMonitor() - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
DefaultRemoteCommand - Class in com.thoughtworks.selenium
The default implementation of the RemoteCommand interface
DefaultRemoteCommand(String, String[]) - Constructor for class com.thoughtworks.selenium.DefaultRemoteCommand
 
DefaultSelenium - Class in com.thoughtworks.selenium
The default implementation of the Selenium interface; end users will primarily interact with this object.
DefaultSelenium(String, int, String, String) - Constructor for class com.thoughtworks.selenium.DefaultSelenium
Uses a CommandBridgeClient, specifying a server host/port, a command to launch the browser, and a starting URL for the browser.
DefaultSelenium(CommandProcessor) - Constructor for class com.thoughtworks.selenium.DefaultSelenium
Uses an arbitrary CommandProcessor
deleteAllVisibleCookies() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
deleteCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Delete a named cookie with specified path and domain.
deselectPopUp() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
deselectPopUp() - Method in interface com.thoughtworks.selenium.Selenium
Selects the main window.
doCommand(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
Send the specified remote command to the browser to be performed
doCommand(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
doubleClick(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
doubleClick(String) - Method in interface com.thoughtworks.selenium.Selenium
Double clicks on a link, button, checkbox or radio button.
doubleClickAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
doubleClickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Doubleclicks on a link, button, checkbox or radio button.
dragAndDrop(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragAndDrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element a certain distance and then drops it
dragAndDropToObject(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragAndDropToObject(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element and drops it on another element
dragdrop(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragdrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
deprecated - use dragAndDrop instead

E

elapsed() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the amount of time elapsed since the ConditionRunner.waitFor(Condition) method for this context was called.
ERROR - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
executeCommandOnServlet(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
Sends the specified command string to the bridge servlet

F

fail(String) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
fireEvent(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
fireEvent(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Explicitly simulate an event, to trigger the corresponding "onevent" handler.
focus(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.

G

get(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
getAlert() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
getAllButtons() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all buttons on the page.
getAllFields() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllFields() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all input fields on the page.
getAllLinks() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllLinks() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all links on the page.
getAllWindowIds() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowIds() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all windows that the browser knows about.
getAllWindowNames() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowNames() - Method in interface com.thoughtworks.selenium.Selenium
Returns the names of all windows that the browser knows about.
getAllWindowTitles() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowTitles() - Method in interface com.thoughtworks.selenium.Selenium
Returns the titles of all windows that the browser knows about.
getAttribute(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAttribute(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the value of an element attribute.
getAttributeFromAllWindows(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAttributeFromAllWindows(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns every instance of some attribute from all known windows.
getBodyText() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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
 
getBoolean(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getBooleanArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getBooleanArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getBrowserExecutablePath() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
getBrowserMode() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
getCommandResponseAsString(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getCommandURLString() - Method in class com.thoughtworks.selenium.DefaultRemoteCommand
 
getCommandURLString() - Method in interface com.thoughtworks.selenium.RemoteCommand
Return the URL query string which will be sent to the browser
getConditionRunner() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the condition runner inside which this condition is being run.
getConfirmation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
getCookie() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getCookie() - Method in interface com.thoughtworks.selenium.Selenium
Return all cookies of the current page under test.
getCookieByName(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
getCursorPosition(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
getElementHeight(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementHeight(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the height of an element
getElementIndex(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
getElementPositionLeft(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the horizontal position of an element
getElementPositionTop(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementPositionTop(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the vertical position of an element
getElementWidth(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementWidth(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the width of an element
getEval(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getEval(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the result of evaluating the specified JavaScript snippet.
getExpression(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getExpression(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the specified expression.
getHtmlSource() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getHtmlSource() - Method in interface com.thoughtworks.selenium.Selenium
Returns the entire HTML source between the opening and closing "html" tags.
getHttpUrlConnection(URL) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getInputStreamReader(HttpURLConnection) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getLocation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getLocation() - Method in interface com.thoughtworks.selenium.Selenium
Gets the absolute URL of the current page.
getMessage() - Method in class com.thoughtworks.selenium.condition.Condition
 
getMouseSpeed() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getMouseSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
getNumber(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getNumber(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getNumberArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getNumberArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getOutputStreamWriter(HttpURLConnection) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getProfile() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
getPrompt() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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
getRemoteControlServerLocation() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getResponseCode(HttpURLConnection) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getSelectedId(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
getSelectOptions(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option labels in the specified select drop-down.
getSelenium() - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
Returns the Selenium associated with this instance.
getSpeed() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Get execution speed (i.e., get the millisecond length of the delay following each selenium operation).
getString(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getString(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getStringArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getStringArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getTable(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getTable(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text from a cell of a table.
getText(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getText() - Method in class com.thoughtworks.selenium.SeleneseTestBase
Returns the body text of the current page
getText() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Returns the body text of the current page
getText(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text of an element.
getTimeoutInSeconds() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
getTitle() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getTitle() - Method in interface com.thoughtworks.selenium.Selenium
Gets the title of the current page.
getValue(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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).
getWhetherThisFrameMatchFrameExpression(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
getWhetherThisWindowMatchWindowExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Determine whether currentWindowString plus target identify the window containing this running code.
getXpathCount(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getXpathCount(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of nodes that match the specified xpath, eg.
goBack() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
goBack() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "back" button on their browser.

H

hasOptions() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Returns true if any options are set in this instance.
hasSessionInProgress() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
highlight(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
highlight(String) - Method in interface com.thoughtworks.selenium.Selenium
Briefly changes the backgroundColor of the specified element yellow.
HttpCommandProcessor - Class in com.thoughtworks.selenium
Sends commands and retrieves results via HTTP.
HttpCommandProcessor(String, int, String, String) - Constructor for class com.thoughtworks.selenium.HttpCommandProcessor
Specifies a server host/port, a command to launch the browser, and a starting URL for the browser.
HttpCommandProcessor(String, String, String) - Constructor for class com.thoughtworks.selenium.HttpCommandProcessor
Specifies the URL to the CommandBridge servlet, a command to launch the browser, and a starting URL for the browser.

I

ignoreAttributesWithoutValue(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
ignoreAttributesWithoutValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies whether Selenium will ignore xpath attributes that have no value, i.e.
info(String) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner.Context
A Condition.isTrue(ConditionRunner.Context) can call this method to set extra information to be displayed upon a failure.
INFO - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
isAlertPresent() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isAlertPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has an alert occurred?
isCaptureScreenShotOnFailure() - Method in class com.thoughtworks.selenium.SeleneseTestBase
 
isCaptureScreenShotOnFailure() - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
isCaptureScreetShotOnFailure() - Method in class com.thoughtworks.selenium.SeleneseTestCase
isChecked(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isChecked(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets whether a toggle-button (checkbox/radio) is checked.
isConfirmationPresent() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isConfirmationPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has confirm() been called?
isCookiePresent(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isCookiePresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns true if a cookie with the specified name is present, or false otherwise.
isEditable(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
isElementPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Verifies that the specified element is somewhere on the page.
isMultiWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Returns true if the MULTI_WINDOW field is set.
isOrdered(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
isPromptPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has a prompt occurred?
isSet(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
isSingleWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Returns true if the SINGLE_WINDOW field is set.
isSomethingSelected(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isSomethingSelected(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines whether some option in a drop-down menu is selected.
isTextPresent(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Condition
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Not
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Presence
 
isTrue(ConditionRunner.Context) - Method in class com.thoughtworks.selenium.condition.Text
 
isVisible(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isVisible(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines if the specified element is visible.

J

join(String[], char) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
 
join(String[], char) - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
JUnit4AndTestNgConditionRunner - Class in com.thoughtworks.selenium.condition

This class throws an AssertionError when the condition is not met - the same as JUnit4 and TestNG do.

JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnit4AndTestNgConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
JUnitConditionRunner - Class in com.thoughtworks.selenium.condition

This class throws an AssertionFailedError when the condition is not met.

JUnitConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(DefaultConditionRunner.Monitor, Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium, int, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
JUnitConditionRunner(Selenium) - Constructor for class com.thoughtworks.selenium.condition.JUnitConditionRunner
 

K

keyDown(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyDown(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing a key (without releasing it yet).
keyDownNative(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
keyPress(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing and releasing a key.
keyPressNative(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyPressNative(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing and releasing a key by sending a native operating system keystroke.
keyUp(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user releasing a key.
keyUpNative(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyUpNative(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user releasing a key by sending a native operating system keystroke.

L

log(String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 

M

metaKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
metaKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the meta key.
mouseDown(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
mouseOver(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user hovering a mouse over the specified element.
mouseUp(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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.
MULTI_WINDOW - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 

N

Not - Class in com.thoughtworks.selenium.condition
Simple predicate class, which also knows how to wait for its condition to be true.
Not(Condition) - Constructor for class com.thoughtworks.selenium.condition.Not
 

O

open(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
open(String) - Method in interface com.thoughtworks.selenium.Selenium
Opens an URL in the test frame.
openWindow(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
openWindow(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Opens a popup window (if a window with that ID isn't already open).

P

parse(String) - Static method in class com.thoughtworks.selenium.DefaultRemoteCommand
Factory method to create a RemoteCommand from a wiki-style input string
parseCSV(String) - Static method in class com.thoughtworks.selenium.HttpCommandProcessor
Convert backslash-escaped comma-delimited string into String array.
pause(int) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Sleeps for the specified number of milliseconds
pause(int) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Sleeps for the specified number of milliseconds
Presence - Class in com.thoughtworks.selenium.condition
Checks whether a given locator exists on the page.
Presence(String) - Constructor for class com.thoughtworks.selenium.condition.Presence
 
PROFILE_NAME - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 

R

refresh() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
refresh() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "Refresh" button on their browser.
RemoteCommand - Interface in com.thoughtworks.selenium
Represents a single remote action
removeAllSelections(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
removeAllSelections(String) - Method in interface com.thoughtworks.selenium.Selenium
Unselects all of the selected options in a multi-select element.
removeScript(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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.
retrieveLastRemoteControlLogs() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
retrieveLastRemoteControlLogs() - Method in interface com.thoughtworks.selenium.Selenium
Retrieve the last messages logged on a specific remote control.
rollup(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
runBare() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Runs the bare test sequence, capturing a screenshot if a test fails
runScript(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
runtimeBrowserString() - Method in class com.thoughtworks.selenium.SeleneseTestBase
 
runtimeBrowserString() - Method in class com.thoughtworks.selenium.SeleneseTestCase
 

S

select(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
selectFrame(String) - Method in interface com.thoughtworks.selenium.Selenium
Selects a frame within the current window.
selectPopUp(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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.
SeleneseTestBase - Class in com.thoughtworks.selenium
Provides a base class that implements some handy functionality for Selenium testing (you are not required to extend this class).
SeleneseTestBase() - Constructor for class com.thoughtworks.selenium.SeleneseTestBase
 
SeleneseTestCase - Class in com.thoughtworks.selenium
Provides a JUnit TestCase base class that implements some handy functionality for Selenium testing (you are not required to extend this class).
SeleneseTestCase() - Constructor for class com.thoughtworks.selenium.SeleneseTestCase
 
SeleneseTestCase(String) - Constructor for class com.thoughtworks.selenium.SeleneseTestCase
 
selenium - Variable in class com.thoughtworks.selenium.SeleneseTestBase
Use this object to run all of your selenium tests
selenium - Variable in class com.thoughtworks.selenium.SeleneseTestCase
Use this object to run all of your selenium tests
Selenium - Interface in com.thoughtworks.selenium
Defines an object that runs Selenium commands.
SeleniumCommandTimedOutException - Exception in com.thoughtworks.selenium
Thrown to indicate that the remote process failed to respond within a specified timeout.
SeleniumCommandTimedOutException() - Constructor for exception com.thoughtworks.selenium.SeleniumCommandTimedOutException
 
seleniumEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Compares two strings, but handles "regexp:" strings like HTML Selenese
seleniumEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestBase
Compares two objects, but handles "regexp:" strings like HTML Selenese
seleniumEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Compares two objects, but handles "regexp:" strings like HTML Selenese
seleniumEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Compares two strings, but handles "regexp:" strings like HTML Selenese
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
 
SeleniumLogLevels - Class in com.thoughtworks.selenium
An enumeration of logging levels
SeleniumLogLevels() - Constructor for class com.thoughtworks.selenium.SeleniumLogLevels
 
serialize() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Serializes to the format "name=value;name=value".
set(String, String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets the given key to the given value unless the value is null.
setBrowserExecutablePath(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets the full path for the browser executable.
setBrowserLogLevel(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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.
setBrowserMode(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets the "mode" for the browser.
setCaptureScreenShotOnFailure(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestBase
 
setCaptureScreenShotOnFailure(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
setCaptureScreetShotOnFailure(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
setContext(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
Allows javascript to be specified for the test on a per-browser session basis.
setExtensionJs(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
This should be invoked before start().
setExtensionJs(String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the per-session extension Javascript
setMouseSpeed(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setMouseSpeed(String) - Method in interface com.thoughtworks.selenium.Selenium
Configure the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
setMultiWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets MULTI_WINDOW and unsets SINGLE_WINDOW
setProfile(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets the name of the profile, which must exist in the -profilesLocation directory, to use for this browser session.
setSessionInProgress(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
setSingleWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets SINGLE_WINDOW and unsets MULTI_WINDOW.
setSpeed(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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).
setTestContext() - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
setTimeout(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setTimeout(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies the amount of time that Selenium will wait for actions to complete.
setTimeoutInSeconds(int) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Sets the timeout, in seconds, for all commands.
setUp() - Method in class com.thoughtworks.selenium.SeleneseTestBase
Calls this.setUp(null)
setUp(String) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Calls this.setUp with the specified url and a default browser.
setUp(String, String) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser string.
setUp(String, String, int) - Method in class com.thoughtworks.selenium.SeleneseTestBase
 
setUp() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Calls this.setUp(null)
setUp(String) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Calls this.setUp with the specified url and a default browser.
setUp(String, String) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser string
shiftKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
shiftKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the shift key.
showContextualBanner() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
showContextualBanner(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
shutDownSeleniumServer() - Method in interface com.thoughtworks.selenium.Selenium
Kills the running Selenium Server and all browser sessions.
SINGLE_WINDOW - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
start(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
start(Object) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
start() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
start(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
start(Object) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
Wraps the version of start() that takes a String parameter, sending it the result of calling toString() on optionsObject, which will likely be a BrowserConfigurationOptions instance.
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 class com.thoughtworks.selenium.DefaultSelenium
 
stop() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
stop() - Method in interface com.thoughtworks.selenium.Selenium
Ends the test session, killing the browser
submit(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
submit(String) - Method in interface com.thoughtworks.selenium.Selenium
Submit the specified form.

T

tearDown() - Method in class com.thoughtworks.selenium.SeleneseTestBase
checks for verification errors and stops the browser
tearDown() - Method in class com.thoughtworks.selenium.SeleneseTestCase
checks for verification errors and stops the browser
Text - Class in com.thoughtworks.selenium.condition
Checks whether text exists either anywhere on the page, or inside a given locator.
Text(String) - Constructor for class com.thoughtworks.selenium.condition.Text
Look for text anywhere on the page.
Text(String, String) - Constructor for class com.thoughtworks.selenium.condition.Text
Look for text inside a given locator.
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.JUnit4AndTestNgConditionRunner
 
throwAssertionException(String) - Method in class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
throwAssertionException(String, Throwable) - Method in class com.thoughtworks.selenium.condition.JUnitConditionRunner
 
throwAssertionFailureExceptionOrError(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
TIMEOUT_IN_SECONDS - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
 
toString() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
Returns the serialization of this object, as defined by the serialize() method.
toString() - Method in class com.thoughtworks.selenium.condition.Condition
 
toString() - Method in class com.thoughtworks.selenium.DefaultRemoteCommand
 
type(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
uncheck(String) - Method in interface com.thoughtworks.selenium.Selenium
Uncheck a toggle-button (checkbox/radio)
until() - Method in class com.thoughtworks.selenium.Wait
Returns true when it's time to stop waiting
urlEncode(String) - Static method in class com.thoughtworks.selenium.DefaultRemoteCommand
Encodes the text as an URL using UTF-8.
useXpathLibrary(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
useXpathLibrary(String) - Method in interface com.thoughtworks.selenium.Selenium
Allows choice of one of the available libraries.

V

verificationErrors - Variable in class com.thoughtworks.selenium.SeleneseTestBase
 
verifyEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(String[], String[]) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Asserts that two string arrays have identical string contents (fails at the end of the test, during tearDown)
verifyEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(String[], String[]) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyFalse(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertFalse, but fails at the end of the test (during tearDown)
verifyFalse(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertFalse, but fails at the end of the test (during tearDown)
verifyNotEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyNotEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyNotEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyNotEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyTrue(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestBase
Like assertTrue, but fails at the end of the test (during tearDown)
verifyTrue(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertTrue, but fails at the end of the test (during tearDown)

W

Wait - Class in com.thoughtworks.selenium
A utility class, designed to help the user automatically wait until a condition turns true.
Wait() - Constructor for class com.thoughtworks.selenium.Wait
 
Wait(String) - Constructor for class com.thoughtworks.selenium.Wait
 
wait(String) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
Wait.WaitTimedOutException - Exception in com.thoughtworks.selenium
 
Wait.WaitTimedOutException() - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String, Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
waitFor(Condition) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner
This method will, every so often, evaluate the given condition's Condition.isTrue(ConditionRunner.Context) method, until:

it becomes true, in which case it simply returns a certain amount of time is passed, in which case it fails by throwing an failure exception tailored to a given test framework -- e.g.

waitFor(String, Condition) - Method in interface com.thoughtworks.selenium.condition.ConditionRunner
As above but with an additonal 'should' phrase narrative used in the event of the condition failing to become true
waitFor(Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
waitFor(String, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner
 
waitForCondition(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
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 class com.thoughtworks.selenium.DefaultSelenium
 
waitForFrameToLoad(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new frame to load.
waitForPageToLoad(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForPageToLoad(String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new page to load.
waitForPopUp(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForPopUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a popup window to appear and load up.
waitHasBegun(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
 
waitHasBegun(ConditionRunner.Context, Condition) - Method in interface com.thoughtworks.selenium.condition.DefaultConditionRunner.Monitor
Called whenever a DefaultConditionRunner.waitFor(Condition) has begun, and is being tracked with the given condition.
waitHasBegun(ConditionRunner.Context, Condition) - Method in class com.thoughtworks.selenium.condition.DefaultConditionRunner.NoOpMonitor
 
WARN - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
windowFocus() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
windowFocus() - Method in interface com.thoughtworks.selenium.Selenium
Gives focus to the currently selected window
windowMaximize() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
windowMaximize() - Method in interface com.thoughtworks.selenium.Selenium
Resize currently selected window to take up the entire screen
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2012. All Rights Reserved.