- 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
- 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
-
- 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
-
- 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.
- 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
-
- DefaultConditionRunner(Selenium, int, int) - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner
-
- 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
-
- DefaultConditionRunner.Log4jMonitor() - Constructor for class com.thoughtworks.selenium.condition.DefaultConditionRunner.Log4jMonitor
-
- DefaultConditionRunner.Monitor - Interface in com.thoughtworks.selenium.condition
-
- DefaultConditionRunner.NoOpMonitor - Class in com.thoughtworks.selenium.condition
-
- 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
- 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.
- 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
-
- 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.
- 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)