- accept() - Method in interface org.openqa.selenium.Alert
-
- ACCEPT_SSL_CERTS - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- Action - Interface in org.openqa.selenium.interactions
-
Interface representing a single user-interaction action.
- action - Variable in class org.openqa.selenium.interactions.Actions
-
- Actions - Class in org.openqa.selenium.interactions
-
The user-facing API for emulating complex user gestures.
- Actions(WebDriver) - Constructor for class org.openqa.selenium.interactions.Actions
-
Default constructor - uses the default keyboard, mouse implemented by the driver.
- Actions(Keyboard, Mouse) - Constructor for class org.openqa.selenium.interactions.Actions
-
A constructor that should only be used when the keyboard or mouse were extended to provide
additional functionality (for example, dragging-and-dropping from the desktop).
- Actions(Keyboard) - Constructor for class org.openqa.selenium.interactions.Actions
-
Only used by the TouchActions class.
- activateEngine(String) - Method in interface org.openqa.selenium.WebDriver.ImeHandler
-
Make an engines that is available (appears on the list returned by getAvailableEngines)
active.
- activeElement() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
-
Switches to the element that currently has focus within the document currently "switched to",
or the body element if this cannot be detected.
- addAction(Action) - Method in class org.openqa.selenium.interactions.CompositeAction
-
- addCookie(Cookie) - Method in interface org.openqa.selenium.WebDriver.Options
-
Add a specific cookie.
- addCustomRequestHeader(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Tells the Selenium server to add the specificed key and value as a custom outgoing request
header.
- addEntry(String, LogEntry) - Method in class org.openqa.selenium.logging.LocalLogs
-
- addInfo(String, String) - Method in exception org.openqa.selenium.WebDriverException
-
- addLocationStrategy(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Defines a new function for Selenium to locate elements on the page.
- addLog(String, LogEntries) - Method in class org.openqa.selenium.logging.SessionLogs
-
- addPreferences(LoggingPreferences) - Method in class org.openqa.selenium.logging.LoggingPreferences
-
Adds the given logging preferences giving them precedence over existing
preferences.
- addScript(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Loads script content into a new script tag in the Selenium document.
- addSelection(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Add a selection to the set of selected options in a multi-select element using an option
locator.
- Alert - Interface in org.openqa.selenium
-
- alert() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
-
Switches to the currently active modal dialog for this particular driver instance.
- allowNativeXpath(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Specifies whether Selenium should use the native in-browser implementation of XPath (if any
native version is available); if you pass "false" to this function, we will always use our
pure-JavaScript xpath library.
- altKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
-
Press the alt key and hold it down until doAltUp() is called or a new page is loaded.
- altKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
-
Release the alt key.
- ANDROID - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- android() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- 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()].
- AppCacheStatus - Enum in org.openqa.selenium.html5
-
Represents the application cache status.
- ApplicationCache - Interface in org.openqa.selenium.html5
-
- Architecture - Enum in org.openqa.selenium
-
Represents the known architectures used in WebDriver.
- asMap() - Method in class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- asMap() - Method in interface org.openqa.selenium.Capabilities
-
- asMap() - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- assignId(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Temporarily sets the "id" attribute of the specified element, so you can locate it in the
future using its ID rather than a slow/complicated XPath.
- attachFile(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Sets a file input (upload) field to the file listed in fileLocator
- attachTo(Logger, Level) - Method in class org.openqa.selenium.logging.LoggingHandler
-
- authenticateUsing(Credentials) - Method in interface org.openqa.selenium.Alert
-
- AVOIDING_PROXY - Static variable in interface org.openqa.selenium.remote.CapabilityType.ForSeleniumServer
-
- canUse(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- Capabilities - Interface in org.openqa.selenium
-
Describes a series of key/value pairs that encapsulate aspects of a browser.
- CapabilityType - Interface in org.openqa.selenium.remote
-
Commonly seen remote webdriver capabilities.
- CapabilityType.ForSeleniumServer - Interface in org.openqa.selenium.remote
-
- captureEntirePageScreenshot(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Saves the entire contents of the current window canvas to a PNG file.
- captureEntirePageScreenshotToString(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Downloads a screenshot of the browser current window canvas to a based 64 encoded PNG file.
- captureNetworkTraffic(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the network traffic seen by the browser, including headers, AJAX requests, status
codes, and timings.
- captureScreenshot(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Captures a PNG screenshot to the specified file.
- captureScreenshotToString() - Method in interface com.thoughtworks.selenium.Selenium
-
Capture a PNG screenshot.
- charAt(int) - Method in enum org.openqa.selenium.Keys
-
- check(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Check a toggle-button (checkbox/radio)
- chooseCancelOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
-
By default, Selenium's overridden window.confirm() function will return true, as if the user
had manually clicked OK; after running this command, the next call to confirm() will return
false, as if the user had clicked Cancel.
- chooseOkOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
-
Undo the effect of calling chooseCancelOnNextConfirmation.
- chord(CharSequence...) - Static method in enum org.openqa.selenium.Keys
-
Simulate pressing many keys at once in a "chord".
- CHROME - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- chrome() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- className(String) - Static method in class org.openqa.selenium.By
-
Finds elements based on the value of the "class" attribute.
- clear() - Method in interface org.openqa.selenium.html5.LocalStorage
-
- clear() - Method in interface org.openqa.selenium.html5.SessionStorage
-
- clear() - Method in interface org.openqa.selenium.WebElement
-
If this element is a text entry element, this will clear the value.
- click(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Clicks on a link, button, checkbox or radio button.
- click(WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
Clicks in the middle of the given element.
- click() - Method in class org.openqa.selenium.interactions.Actions
-
Clicks at the current mouse location.
- click(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- click() - Method in interface org.openqa.selenium.WebElement
-
Click this element.
- ClickAction - Class in org.openqa.selenium.interactions
-
clicks an element.
- ClickAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.ClickAction
-
- clickAndHold(WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
Clicks (without releasing) in the middle of the given element.
- clickAndHold() - Method in class org.openqa.selenium.interactions.Actions
-
Clicks (without releasing) at the current mouse location.
- ClickAndHoldAction - Class in org.openqa.selenium.interactions
-
Presses the left mouse button without releasing it.
- ClickAndHoldAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.ClickAndHoldAction
-
- clickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Clicks on a link, button, checkbox or radio button.
- CLIENT - Static variable in class org.openqa.selenium.logging.LogType
-
This log type pertains to logs from the client.
- close() - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
- close() - Method in class org.openqa.selenium.logging.LoggingHandler
-
- close() - Method in interface org.openqa.selenium.WebDriver
-
Close the current window, quitting the browser if it's the last window currently open.
- com.thoughtworks.selenium - package com.thoughtworks.selenium
-
- combine(LogEntries...) - Static method in class org.openqa.selenium.logging.LogCombiner
-
- COMMAND_LINE_FLAGS - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- CommandProcessor - Interface in com.thoughtworks.selenium
-
Provides a doCommand
method, which sends the command to the browser to be performed.
- CompositeAction - Class in org.openqa.selenium.interactions
-
An action for aggregating actions and triggering all of them at the same time.
- CompositeAction() - Constructor for class org.openqa.selenium.interactions.CompositeAction
-
- contextClick(WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
Performs a context-click at middle of the given element.
- contextClick() - Method in class org.openqa.selenium.interactions.Actions
-
Performs a context-click at the current mouse location.
- contextClick(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- ContextClickAction - Class in org.openqa.selenium.interactions
-
Context-clicks an element
- ContextClickAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.ContextClickAction
-
- contextMenu(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
- contextMenuAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates opening the context menu for the specified element (as might happen if the user
"right-clicked" on the element).
- controlKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
-
Press the control key and hold it down until doControlUp() is called or a new page is loaded.
- controlKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
-
Release the control key.
- convertFromBase64Png(String) - Method in interface org.openqa.selenium.OutputType
-
Convert the given base64 png to a requested format.
- convertFromPngBytes(byte[]) - Method in interface org.openqa.selenium.OutputType
-
Convert the given png to a requested format.
- Cookie - Class in org.openqa.selenium
-
- Cookie(String, String, String, Date) - Constructor for class org.openqa.selenium.Cookie
-
Creates an insecure cookie with no domain specified.
- Cookie(String, String, String, String, Date) - Constructor for class org.openqa.selenium.Cookie
-
Creates an insecure cookie.
- Cookie(String, String, String, String, Date, boolean) - Constructor for class org.openqa.selenium.Cookie
-
Creates a cookie.
- Cookie(String, String) - Constructor for class org.openqa.selenium.Cookie
-
Create a cookie for the default path with the given name and value with no expiry set.
- Cookie(String, String, String) - Constructor for class org.openqa.selenium.Cookie
-
Create a cookie.
- Cookie.Builder - Class in org.openqa.selenium
-
- Cookie.Builder(String, String) - Constructor for class org.openqa.selenium.Cookie.Builder
-
- Coordinates - Interface in org.openqa.selenium.interactions.internal
-
Provides coordinates of an element for advanced interactions.
- 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.
- Credentials - Interface in org.openqa.selenium.security
-
Marker interface used to indicate that this object can be used for
authentication.
- cssSelector(String) - Static method in class org.openqa.selenium.By
-
Finds elements via the driver's underlying W3 Selector engine.
- DatabaseStorage - Interface in org.openqa.selenium.html5
-
Deprecated.
Web SQL has been deprecated, see
http://dev.w3.org/html5/webdatabase/
- deactivate() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
-
De-activate IME input (turns off the currently activated engine).
- DEBUG - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
-
- decode(String) - Method in class org.openqa.selenium.internal.Base64Encoder
-
- DEFAULT_PORT - Static variable in class org.openqa.selenium.internal.SocketLock
-
- DEFAULT_TIMEOUT_IN_SECONDS - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- defaultContent() - Method in interface org.openqa.selenium.WebDriver.TargetLocator
-
Selects either the first frame on the page, or the main document when a page contains
iframes.
- defaults() - Method in class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- deleteAllCookies() - Method in interface org.openqa.selenium.WebDriver.Options
-
Delete all the cookies for the current domain.
- deleteAllVisibleCookies() - Method in interface com.thoughtworks.selenium.Selenium
-
Calls deleteCookie with recurse=true on all cookies visible to the current page.
- deleteCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Delete a named cookie with specified path and domain.
- deleteCookie(Cookie) - Method in interface org.openqa.selenium.WebDriver.Options
-
Delete a cookie from the browser's "cookie jar".
- deleteCookieNamed(String) - Method in interface org.openqa.selenium.WebDriver.Options
-
Delete the named cookie from the current domain.
- deriveFrom(URI) - Method in class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- deselectPopUp() - Method in interface com.thoughtworks.selenium.Selenium
-
Selects the main window.
- DesiredCapabilities - Class in org.openqa.selenium.remote
-
- DesiredCapabilities(String, String, Platform) - Constructor for class org.openqa.selenium.remote.DesiredCapabilities
-
- DesiredCapabilities() - Constructor for class org.openqa.selenium.remote.DesiredCapabilities
-
- DesiredCapabilities(Map<String, ?>) - Constructor for class org.openqa.selenium.remote.DesiredCapabilities
-
- DesiredCapabilities(Capabilities) - Constructor for class org.openqa.selenium.remote.DesiredCapabilities
-
- DesiredCapabilities(Capabilities...) - Constructor for class org.openqa.selenium.remote.DesiredCapabilities
-
- Dimension - Class in org.openqa.selenium
-
Similar to Point - implement locally to avoid depending on GWT.
- Dimension(int, int) - Constructor for class org.openqa.selenium.Dimension
-
- dismiss() - Method in interface org.openqa.selenium.Alert
-
- DisplayAction - Class in org.openqa.selenium.interactions.internal
-
This class represents an abstraction of devices that can execute an action within a display area.
- DisplayAction(Locatable) - Constructor for class org.openqa.selenium.interactions.internal.DisplayAction
-
- doCommand(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Send the specified remote command to the browser to be performed
- domain(String) - Method in class org.openqa.selenium.Cookie.Builder
-
- DoNotUseProxyPac - Class in org.openqa.selenium.browserlaunchers
-
A representation of a proxy configuration file.
- DoNotUseProxyPac() - Constructor for class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- DoNotUseProxyPac.DefaultProxy - Class in org.openqa.selenium.browserlaunchers
-
- DoNotUseProxyPac.DefaultProxy() - Constructor for class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac.DefaultProxy
-
- DoNotUseProxyPac.ProxyHostVia - Class in org.openqa.selenium.browserlaunchers
-
- DoNotUseProxyPac.ProxyUrlVia - Class in org.openqa.selenium.browserlaunchers
-
- doubleClick(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Double clicks on a link, button, checkbox or radio button.
- doubleClick(WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
Performs a double-click at middle of the given element.
- doubleClick() - Method in class org.openqa.selenium.interactions.Actions
-
Performs a double-click at the current mouse location.
- doubleClick(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- DoubleClickAction - Class in org.openqa.selenium.interactions
-
Double-clicks an element.
- DoubleClickAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.DoubleClickAction
-
- doubleClickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Doubleclicks on a link, button, checkbox or radio button.
- doubleTap(WebElement) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- doubleTap(Coordinates) - Method in interface org.openqa.selenium.TouchScreen
-
Allows the execution of double tapon the screen, analogous to double click using a Mouse.
- DoubleTapAction - Class in org.openqa.selenium.interactions.touch
-
Creates a double tap gesture on a touch screen.
- DoubleTapAction(TouchScreen, Locatable) - Constructor for class org.openqa.selenium.interactions.touch.DoubleTapAction
-
- down(int, int) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- down(int, int) - Method in interface org.openqa.selenium.TouchScreen
-
Allows the execution of the gesture 'down' on the screen.
- DownAction - Class in org.openqa.selenium.interactions.touch
-
Creates a down gesture.
- DownAction(TouchScreen, int, int) - Constructor for class org.openqa.selenium.interactions.touch.DownAction
-
- dragAndDrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Drags an element a certain distance and then drops it
- dragAndDrop(WebElement, WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
A convenience method that performs click-and-hold at the location of the source element,
moves to the location of the target element, then releases the mouse.
- dragAndDropBy(WebElement, int, int) - Method in class org.openqa.selenium.interactions.Actions
-
A convenience method that performs click-and-hold at the location of the source element,
moves by a given offset, then releases the mouse.
- dragAndDropToObject(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Drags an element and drops it on another element
- dragdrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
deprecated - use dragAndDrop instead
- DRIVER - Static variable in class org.openqa.selenium.logging.LogType
-
This log pertains to logs from the WebDriver implementation.
- DRIVER_INFO - Static variable in exception org.openqa.selenium.WebDriverException
-
- get(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- get(String) - Method in class org.openqa.selenium.logging.LocalLogs
-
- get(String) - Method in interface org.openqa.selenium.logging.Logs
-
Fetches available log entries for the given log type.
- get(String) - Method in interface org.openqa.selenium.WebDriver
-
Load a new web page in the current browser window.
- getActionLocation() - Method in class org.openqa.selenium.interactions.internal.DisplayAction
-
- getActionLocation() - Method in class org.openqa.selenium.interactions.internal.MouseAction
-
- getActiveEngine() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
-
Get the name of the active IME engine.
- getAdditionalInformation() - Method in exception org.openqa.selenium.WebDriverException
-
- getAlert() - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the message of a JavaScript alert generated during the previous action, or fail if
there were no alerts.
- getAlertText() - Method in exception org.openqa.selenium.UnhandledAlertException
-
Returns the text of the unhandled alert.
- getAll() - Method in class org.openqa.selenium.logging.LogEntries
-
Get the list of all log entries.
- getAll() - Method in class org.openqa.selenium.logging.SessionLogs
-
- getAllButtons() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the IDs of all buttons on the page.
- getAllFields() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the IDs of all input fields on the page.
- getAllLinks() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the IDs of all links on the page.
- getAllWindowIds() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the IDs of all windows that the browser knows about.
- getAllWindowNames() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the names of all windows that the browser knows about.
- getAllWindowTitles() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the titles of all windows that the browser knows about.
- getAltitude() - Method in class org.openqa.selenium.html5.Location
-
- getAttribute(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the value of an element attribute.
- getAttribute(String) - Method in interface org.openqa.selenium.WebElement
-
Get the value of a the given attribute of the element.
- getAttributeFromAllWindows(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns every instance of some attribute from all known windows.
- getAuxiliary() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
-
- getAvailableEngines() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
-
All available engines on the machine.
- getAvailableLogTypes() - Method in interface org.openqa.selenium.logging.Logs
-
Queries for available log types.
- getBodyText() - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the entire text of the page.
- getBoolean(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getBooleanArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getBrowserExecutablePath() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- getBrowserMode() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- getBrowserName() - Method in interface org.openqa.selenium.Capabilities
-
- getBrowserName() - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- getBuildInformation() - Method in exception org.openqa.selenium.WebDriverException
-
- getBuildRevision() - Method in class org.openqa.selenium.internal.BuildInfo
-
- getBuildTime() - Method in class org.openqa.selenium.internal.BuildInfo
-
- getCapabilities() - Method in interface org.openqa.selenium.HasCapabilities
-
- getCapability(String) - Method in interface org.openqa.selenium.Capabilities
-
- getCapability(String) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- getCombinedLogsHolder(LocalLogs, LocalLogs) - Static method in class org.openqa.selenium.logging.LocalLogs
-
See documentation of CompositeLocalLogs about the difference between the first
LocalLogs instance and the second one.
- getCommandLineFlags() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- getConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
- getCookie() - Method in interface com.thoughtworks.selenium.Selenium
-
Return all cookies of the current page under test.
- getCookieByName(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the value of the cookie with the specified name, or throws an error if the cookie is
not present.
- getCookieNamed(String) - Method in interface org.openqa.selenium.WebDriver.Options
-
Get a cookie with a given name.
- getCookies() - Method in interface org.openqa.selenium.WebDriver.Options
-
Get all the cookies for the current domain.
- getCoordinates() - Method in interface org.openqa.selenium.internal.Locatable
-
- getCssCount(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the number of nodes that match the specified css selector, eg.
- getCssValue(String) - Method in interface org.openqa.selenium.WebElement
-
Get the value of a given CSS property.
- getCurrent() - Static method in enum org.openqa.selenium.Architecture
-
Gets current architecture.
- getCurrent() - Static method in enum org.openqa.selenium.Platform
-
Get current platform (not necessarily the same as operating system).
- getCurrentUrl() - Method in interface org.openqa.selenium.WebDriver
-
Get a string representing the current URL that the browser is looking at.
- 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.
- getDataModel() - Method in enum org.openqa.selenium.Architecture
-
Gets the data model of the architecture.
- getDomain() - Method in class org.openqa.selenium.Cookie
-
- getDriverName(StackTraceElement[]) - Static method in exception org.openqa.selenium.WebDriverException
-
- getElementHeight(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the height of an element
- getElementIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Get the relative index of an element to its parent (starting from 0).
- getElementPositionLeft(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the horizontal position of an element
- getElementPositionTop(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the vertical position of an element
- getElementWidth(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the width of an element
- getEnabledLogTypes() - Method in class org.openqa.selenium.logging.LoggingPreferences
-
- getEnum(int) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
-
Gets the AppCacheStatus for the given int value.
- getEnum(String) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
-
- getEval(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the result of evaluating the specified JavaScript snippet.
- getExpiry() - Method in class org.openqa.selenium.Cookie
-
- getExpression(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the specified expression.
- getFtpProxy() - Method in class org.openqa.selenium.Proxy
-
Gets the FTP proxy.
- getHandlerBasedLoggerInstance(LoggingHandler, Set<String>) - Static method in class org.openqa.selenium.logging.LocalLogs
-
- getHeight() - Method in class org.openqa.selenium.Dimension
-
- getHtmlSource() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the entire HTML source between the opening and closing "html" tags.
- getHttpProxy() - Method in class org.openqa.selenium.Proxy
-
Gets the HTTP proxy.
- getHttpsProxy() - Method in class org.openqa.selenium.Proxy
-
Gets the HTTPS proxy.
- getInstance() - Static method in class org.openqa.selenium.logging.LoggingHandler
-
- getItem(String) - Method in interface org.openqa.selenium.html5.LocalStorage
-
- getItem(String) - Method in interface org.openqa.selenium.html5.SessionStorage
-
- getKeyboard() - Method in interface org.openqa.selenium.HasInputDevices
-
- getKeyFromUnicode(char) - Static method in enum org.openqa.selenium.Keys
-
Get the special key representation,
Keys
, of the supplied character if there is one.
- getLastInsertedRowId() - Method in class org.openqa.selenium.html5.ResultSet
-
Gets the row ID of the inserted row if the statement inserted a row.
- getLatitude() - Method in class org.openqa.selenium.html5.Location
-
- getLevel() - Method in class org.openqa.selenium.logging.LogEntry
-
Gets the logging entry's severity.
- getLevel(String) - Method in class org.openqa.selenium.logging.LoggingPreferences
-
- getLocalStorage() - Method in interface org.openqa.selenium.html5.WebStorage
-
- getLocation() - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the absolute URL of the current page.
- getLocation() - Method in interface org.openqa.selenium.WebElement
-
Where on the page is the top left-hand corner of the rendered element?
- getLog() - Method in interface com.thoughtworks.selenium.Selenium
-
Get RC logs associated with this session.
- getLogs(String) - Method in class org.openqa.selenium.logging.SessionLogs
-
- getLogTypes() - Method in class org.openqa.selenium.logging.SessionLogs
-
- getLongitude() - Method in class org.openqa.selenium.html5.Location
-
- getMajorVersion() - Method in enum org.openqa.selenium.Platform
-
Returns the major version of this platform.
- getMessage() - Method in class org.openqa.selenium.logging.LogEntry
-
Gets the log entry's message.
- getMessage() - Method in exception org.openqa.selenium.WebDriverException
-
- getMinorVersion() - Method in enum org.openqa.selenium.Platform
-
Returns the minor version of this platform.
- getMouse() - Method in interface org.openqa.selenium.HasInputDevices
-
- getMouseSpeed() - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the number of pixels between "mousemove" events during dragAndDrop commands
(default=10).
- getName() - Method in class org.openqa.selenium.Cookie
-
- getNoProxy() - Method in class org.openqa.selenium.Proxy
-
- getNullLogger() - Static method in class org.openqa.selenium.logging.LocalLogs
-
Logger which doesn't do anything.
- getNumber(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getNumberArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getNumberOfActions() - Method in class org.openqa.selenium.interactions.CompositeAction
-
- getNumberOfRowsAffected() - Method in class org.openqa.selenium.html5.ResultSet
-
Gets the number of rows that were changed by the SQL statement.
- getOrientation() - Method in interface org.openqa.selenium.Rotatable
-
- getPageSource() - Method in interface org.openqa.selenium.WebDriver
-
Get the source of the last loaded page.
- getPartOfOsName() - Method in enum org.openqa.selenium.Platform
-
- getPassword() - Method in class org.openqa.selenium.security.UserAndPassword
-
- getPath() - Method in class org.openqa.selenium.Cookie
-
- getPlatform() - Method in interface org.openqa.selenium.Capabilities
-
- getPlatform() - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- getPosition() - Method in interface org.openqa.selenium.WebDriver.Window
-
Get the position of the current window, relative to the upper left corner of the screen.
- getProfile() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- getPrompt() - Method in interface com.thoughtworks.selenium.Selenium
-
Retrieves the message of a JavaScript question prompt dialog generated during the previous
action.
- getProxyAutoconfigUrl() - Method in class org.openqa.selenium.Proxy
-
Gets the proxy auto-configuration URL.
- getProxyType() - Method in class org.openqa.selenium.Proxy
-
- getRecords() - Method in class org.openqa.selenium.logging.LoggingHandler
-
- getReleaseLabel() - Method in class org.openqa.selenium.internal.BuildInfo
-
- getRemoteControlServerLocation() - Method in interface com.thoughtworks.selenium.CommandProcessor
-
The URL that the RemoteControl instance is allegedly running on
- getScreenshotAs(OutputType<X>) - Method in interface org.openqa.selenium.TakesScreenshot
-
Capture the screenshot and store it in the specified location.
- getSelectedId(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets option element ID for selected option in the specified select element.
- getSelectedIds(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets all option element IDs for selected options in the specified select or multi-select
element.
- getSelectedIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets option index (option number, starting at 0) for selected option in the specified select
element.
- getSelectedIndexes(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets all option indexes (option number, starting at 0) for selected options in the specified
select or multi-select element.
- getSelectedLabel(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets option label (visible text) for selected option in the specified select element.
- getSelectedLabels(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets all option labels (visible text) for selected options in the specified select or
multi-select element.
- getSelectedValue(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets option value (value attribute) for selected option in the specified select element.
- getSelectedValues(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets all option values (value attributes) for selected options in the specified select or
multi-select element.
- getSelectOptions(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets all option labels in the specified select drop-down.
- getSessionLogs(JSONObject) - Static method in class org.openqa.selenium.logging.SessionLogHandler
-
Creates a session logs map, with session logs mapped to session IDs, given
a raw session log map as a JSON object.
- getSessionStorage() - Method in interface org.openqa.selenium.html5.WebStorage
-
- getSize() - Method in interface org.openqa.selenium.WebDriver.Window
-
Get the size of the current window.
- getSize() - Method in interface org.openqa.selenium.WebElement
-
What is the width and height of the rendered element?
- getSocksPassword() - Method in class org.openqa.selenium.Proxy
-
Gets the SOCKS proxy's password.
- getSocksProxy() - Method in class org.openqa.selenium.Proxy
-
Gets the SOCKS proxy.
- getSocksUsername() - Method in class org.openqa.selenium.Proxy
-
Gets the SOCKS proxy's username.
- getSpeed() - Method in interface com.thoughtworks.selenium.Selenium
-
Get execution speed (i.e., get the millisecond length of the delay following each selenium
operation).
- getSslProxy() - Method in class org.openqa.selenium.Proxy
-
Gets the SSL tunnel proxy.
- getStatus() - Method in interface org.openqa.selenium.html5.ApplicationCache
-
The current state of the application cache.
- getStoringLoggerInstance(Set<String>) - Static method in class org.openqa.selenium.logging.LocalLogs
-
- getString(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getStringArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
- getSupportUrl() - Method in exception org.openqa.selenium.InvalidSelectorException
-
- getSupportUrl() - Method in exception org.openqa.selenium.NoSuchElementException
-
- getSupportUrl() - Method in exception org.openqa.selenium.StaleElementReferenceException
-
- getSupportUrl() - Method in exception org.openqa.selenium.WebDriverException
-
- getSystemInformation() - Method in exception org.openqa.selenium.WebDriverException
-
- getTable(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the text from a cell of a table.
- getTagName() - Method in interface org.openqa.selenium.WebElement
-
Get the tag name of this element.
- getText(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the text of an element.
- getText() - Method in interface org.openqa.selenium.Alert
-
- getText() - Method in interface org.openqa.selenium.WebElement
-
Get the visible (i.e.
- getTimeoutInSeconds() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- getTimestamp() - Method in class org.openqa.selenium.logging.LogEntry
-
Gets the timestamp of the log statement in milliseconds since UNIX Epoch.
- getTitle() - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the title of the current page.
- getTitle() - Method in interface org.openqa.selenium.WebDriver
-
The title of the current page.
- getTouch() - Method in interface org.openqa.selenium.HasTouchScreen
-
- getUsername() - Method in class org.openqa.selenium.security.UserAndPassword
-
- getValue(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets the (whitespace-trimmed) value of an input field (or anything else with a value
parameter).
- getValue() - Method in class org.openqa.selenium.Cookie
-
- getVersion() - Method in interface org.openqa.selenium.Capabilities
-
- getVersion() - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- getWhetherThisFrameMatchFrameExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Determine whether current/locator identify the frame containing this running code.
- getWhetherThisWindowMatchWindowExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Determine whether currentWindowString plus target identify the window containing this running
code.
- getWidth() - Method in class org.openqa.selenium.Dimension
-
- getWindowHandle() - Method in interface org.openqa.selenium.WebDriver
-
Return an opaque handle to this window that uniquely identifies it within this driver instance.
- getWindowHandles() - Method in interface org.openqa.selenium.WebDriver
-
Return a set of window handles which can be used to iterate over all open windows of this
webdriver instance by passing them to #switchTo().window(String)
- getWrappedDriver() - Method in interface org.openqa.selenium.internal.WrapsDriver
-
- getWrappedElement() - Method in interface org.openqa.selenium.internal.WrapsElement
-
- getX() - Method in class org.openqa.selenium.Point
-
- getXpathCount(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns the number of nodes that match the specified xpath, eg.
- getY() - Method in class org.openqa.selenium.Point
-
- goBack() - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the user clicking the "back" button on their browser.
- GOOGLECHROME - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- id(String) - Static method in class org.openqa.selenium.By
-
- IE - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- IE_HTA - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- IEXPLORE - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- IEXPLORE_PROXY - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- ignoreAttributesWithoutValue(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Specifies whether Selenium will ignore xpath attributes that have no value, i.e.
- ime() - Method in interface org.openqa.selenium.WebDriver.Options
-
Returns the interface for controlling IME engines to generate complex-script input.
- ImeActivationFailedException - Exception in org.openqa.selenium
-
Indicates that activating an IME engine has failed.
- ImeActivationFailedException(String) - Constructor for exception org.openqa.selenium.ImeActivationFailedException
-
- ImeActivationFailedException(String, Throwable) - Constructor for exception org.openqa.selenium.ImeActivationFailedException
-
- ImeNotAvailableException - Exception in org.openqa.selenium
-
Indicates that IME support is not available.
- ImeNotAvailableException(String) - Constructor for exception org.openqa.selenium.ImeNotAvailableException
-
- ImeNotAvailableException(String, Throwable) - Constructor for exception org.openqa.selenium.ImeNotAvailableException
-
- implicitlyWait(long, TimeUnit) - Method in interface org.openqa.selenium.WebDriver.Timeouts
-
Specifies the amount of time the driver should wait when searching for an element if it is
not immediately present.
- INFO - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
-
- internetExplorer() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- InvalidCookieDomainException - Exception in org.openqa.selenium
-
Thrown when attempting to add a cookie under a different domain than the current URL.
- InvalidCookieDomainException() - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
-
- InvalidCookieDomainException(String) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
-
- InvalidCookieDomainException(Throwable) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
-
- InvalidCookieDomainException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidCookieDomainException
-
- InvalidCoordinatesException - Exception in org.openqa.selenium.interactions
-
Indicates that the coordinates provided to an interactions operation are invalid.
- InvalidCoordinatesException(String) - Constructor for exception org.openqa.selenium.interactions.InvalidCoordinatesException
-
- InvalidElementStateException - Exception in org.openqa.selenium
-
- InvalidElementStateException() - Constructor for exception org.openqa.selenium.InvalidElementStateException
-
- InvalidElementStateException(String) - Constructor for exception org.openqa.selenium.InvalidElementStateException
-
- InvalidElementStateException(Throwable) - Constructor for exception org.openqa.selenium.InvalidElementStateException
-
- InvalidElementStateException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidElementStateException
-
- InvalidSelectorException - Exception in org.openqa.selenium
-
- InvalidSelectorException(String) - Constructor for exception org.openqa.selenium.InvalidSelectorException
-
- InvalidSelectorException(String, Throwable) - Constructor for exception org.openqa.selenium.InvalidSelectorException
-
- inViewPort() - Method in interface org.openqa.selenium.interactions.internal.Coordinates
-
Gets coordinates on the element relative to the top-left corner of OS-window being used
to display the content.
- IPAD - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- ipad() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- IPHONE - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- iphone() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- is(Architecture) - Method in enum org.openqa.selenium.Architecture
-
Heuristic for comparing two architectures.
- is(String) - Method in interface org.openqa.selenium.Capabilities
-
- is(Platform) - Method in enum org.openqa.selenium.Platform
-
Heuristic for comparing two platforms.
- is(String) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- isActivated() - Method in interface org.openqa.selenium.WebDriver.ImeHandler
-
Indicates whether IME input active at the moment (not if it's available).
- isAlertPresent() - Method in interface com.thoughtworks.selenium.Selenium
-
Has an alert occurred?
- isAutodetect() - Method in class org.openqa.selenium.Proxy
-
Whether to autodetect proxy settings.
- isChecked(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Gets whether a toggle-button (checkbox/radio) is checked.
- isConfirmationPresent() - Method in interface com.thoughtworks.selenium.Selenium
-
Has confirm() been called?
- isCookiePresent(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Returns true if a cookie with the specified name is present, or false otherwise.
- isDisplayed() - Method in interface org.openqa.selenium.WebElement
-
Is this element displayed or not? This method avoids the problem of having to parse an
element's "style" attribute.
- isEditable(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Determines whether the specified input element is editable, ie hasn't been disabled.
- isElementPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Verifies that the specified element is somewhere on the page.
- isEnabled() - Method in interface org.openqa.selenium.WebElement
-
Is the element currently enabled or not? This will generally return true for everything but
disabled input elements.
- isJavascriptEnabled() - Method in interface org.openqa.selenium.Capabilities
-
- isJavascriptEnabled() - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- isMultiWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
Returns true if the MULTI_WINDOW
field is set.
- isOnline() - Method in interface org.openqa.selenium.html5.BrowserConnection
-
- isOnlyProxyingSelenium(Capabilities) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- isOrdered(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Check if these two elements have same parent and are ordered siblings in the DOM.
- isPromptPresent() - Method in interface com.thoughtworks.selenium.Selenium
-
Has a prompt occurred?
- isProxyingAllTraffic(Capabilities) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- isProxyRequired(Capabilities) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- isSecure(boolean) - Method in class org.openqa.selenium.Cookie.Builder
-
- isSecure() - Method in class org.openqa.selenium.Cookie
-
- isSelected() - Method in interface org.openqa.selenium.WebElement
-
Determine whether or not this element is selected or not.
- 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 interface com.thoughtworks.selenium.Selenium
-
Determines whether some option in a drop-down menu is selected.
- isTextPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Verifies that the specified text pattern appears somewhere on the rendered page shown to the
user.
- isVisible(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Determines if the specified element is visible.
- item(int) - Method in class org.openqa.selenium.html5.ResultSetRows
-
Returns the row at the given index.
- iterator() - Method in class org.openqa.selenium.logging.LogEntries
-
- makeProxyPAC(File, int, Capabilities) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
Generate a proxy.pac file, configuring a dynamic proxy.
- makeProxyPAC(File, int, String, String, String, Capabilities) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- manage() - Method in interface org.openqa.selenium.WebDriver
-
Gets the Option interface
- map(String) - Method in class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- mapHost(String) - Method in class org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
-
- maximize() - Method in interface org.openqa.selenium.WebDriver.Window
-
Maximizes the current window if it is not already maximized
- merge(Capabilities) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
Merges the extra capabilities provided into this DesiredCapabilities instance.
- metaKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
-
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
- metaKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
-
Release the meta key.
- MOCK - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- mouse - Variable in class org.openqa.selenium.interactions.Actions
-
- mouse - Variable in class org.openqa.selenium.interactions.internal.KeysRelatedAction
-
- mouse - Variable in class org.openqa.selenium.interactions.internal.MouseAction
-
- Mouse - Interface in org.openqa.selenium
-
Interface representing basic mouse operations.
- MouseAction - Class in org.openqa.selenium.interactions.internal
-
Base class for all mouse-related actions.
- MouseAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.internal.MouseAction
-
- 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.
- mouseDown(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- mouseDownAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user pressing the left mouse button (without releasing it yet) at the specified
location.
- mouseDownRight(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user pressing the right mouse button (without releasing it yet) on the specified
element.
- mouseDownRightAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user pressing the right mouse button (without releasing it yet) at the specified
location.
- mouseMove(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- mouseMove(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- mouseMove(Coordinates, long, long) - Method in interface org.openqa.selenium.Mouse
-
- mouseMoveAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- mouseOut(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user moving the mouse pointer away from the specified element.
- mouseOver(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates a user hovering a mouse over the specified element.
- mouseUp(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) on the specified element.
- mouseUp(Coordinates) - Method in interface org.openqa.selenium.Mouse
-
- mouseUpAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding
the button down) at the specified location.
- mouseUpRight(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) on the specified element.
- mouseUpRightAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simulates the event that occurs when the user releases the right mouse button (i.e., stops
holding the button down) at the specified location.
- move(int, int) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- move(int, int) - Method in class org.openqa.selenium.Point
-
- move(int, int) - Method in interface org.openqa.selenium.TouchScreen
-
Allows the execution of the gesture 'move' on the screen.
- MoveAction - Class in org.openqa.selenium.interactions.touch
-
Creates a move gesture.
- MoveAction(TouchScreen, int, int) - Constructor for class org.openqa.selenium.interactions.touch.MoveAction
-
- moveBy(int, int) - Method in class org.openqa.selenium.Point
-
- moveByOffset(int, int) - Method in class org.openqa.selenium.interactions.Actions
-
Moves the mouse from its current position (or 0,0) by the given offset.
- MoveMouseAction - Class in org.openqa.selenium.interactions
-
Moves the mouse to an element.
- MoveMouseAction(Mouse, Locatable) - Constructor for class org.openqa.selenium.interactions.MoveMouseAction
-
- MoveTargetOutOfBoundsException - Exception in org.openqa.selenium.interactions
-
Indicates that the target provided to the actions move() method is invalid - outside of
the size of the window.
- MoveTargetOutOfBoundsException(String) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
-
- MoveTargetOutOfBoundsException(Throwable) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
-
- MoveTargetOutOfBoundsException(String, Throwable) - Constructor for exception org.openqa.selenium.interactions.MoveTargetOutOfBoundsException
-
- moveToElement(WebElement) - Method in class org.openqa.selenium.interactions.Actions
-
Moves the mouse to the middle of the element.
- moveToElement(WebElement, int, int) - Method in class org.openqa.selenium.interactions.Actions
-
Moves the mouse to an offset from the top-left corner of the element.
- moveToLocation() - Method in class org.openqa.selenium.interactions.internal.MouseAction
-
- MoveToOffsetAction - Class in org.openqa.selenium.interactions
-
Move the mouse to a location within the element provided.
- MoveToOffsetAction(Mouse, Locatable, int, int) - Constructor for class org.openqa.selenium.interactions.MoveToOffsetAction
-
- MULTI_WINDOW - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- SAFARI - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- safari() - Static method in class org.openqa.selenium.remote.DesiredCapabilities
-
- SAFARI_PROXY - Static variable in interface org.openqa.selenium.remote.BrowserType
-
- ScreenOrientation - Enum in org.openqa.selenium
-
Represents possible screen orientations.
- scroll(WebElement, int, int) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- scroll(int, int) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- scroll(Coordinates, int, int) - Method in interface org.openqa.selenium.TouchScreen
-
Creates a scroll gesture that starts on a particular screen location.
- scroll(int, int) - Method in interface org.openqa.selenium.TouchScreen
-
Allows the view to be scrolled by an x and y offset.
- ScrollAction - Class in org.openqa.selenium.interactions.touch
-
Creates a scroll gesture.
- ScrollAction(TouchScreen, Locatable, int, int) - Constructor for class org.openqa.selenium.interactions.touch.ScrollAction
-
- ScrollAction(TouchScreen, int, int) - Constructor for class org.openqa.selenium.interactions.touch.ScrollAction
-
- SearchContext - Interface in org.openqa.selenium
-
- select(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Select an option from a drop-down using an option locator.
- selectFrame(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Selects a frame within the current window.
- selectPopUp(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Simplifies the process of selecting a popup window (and does not offer functionality beyond
what selectWindow()
already provides).
- selectWindow(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Selects a popup window using a window locator; once a popup window has been selected, all
commands go to that window.
- Selenium - Interface in com.thoughtworks.selenium
-
Defines an object that runs Selenium commands.
- 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
-
- 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
-
- sendKeys(String) - Method in interface org.openqa.selenium.Alert
-
- sendKeys(CharSequence...) - Method in class org.openqa.selenium.interactions.Actions
-
Sends keys to the active element.
- sendKeys(WebElement, CharSequence...) - Method in class org.openqa.selenium.interactions.Actions
-
- sendKeys(CharSequence...) - Method in interface org.openqa.selenium.Keyboard
-
- sendKeys(CharSequence...) - Method in interface org.openqa.selenium.WebElement
-
Use this method to simulate typing into an element, which may set its value.
- SendKeysAction - Class in org.openqa.selenium.interactions
-
Sending a sequence of keys to an element.
- SendKeysAction(Keyboard, Mouse, Locatable, CharSequence...) - Constructor for class org.openqa.selenium.interactions.SendKeysAction
-
- SendKeysAction(Keyboard, Mouse, CharSequence...) - Constructor for class org.openqa.selenium.interactions.SendKeysAction
-
- serialize() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
Serializes to the format "name=value;name=value".
- SERVER - Static variable in class org.openqa.selenium.logging.LogType
-
This log type pertains to logs from the remote server.
- SESSION_ID - Static variable in exception org.openqa.selenium.WebDriverException
-
- SessionLogHandler - Class in org.openqa.selenium.logging
-
- SessionLogHandler() - Constructor for class org.openqa.selenium.logging.SessionLogHandler
-
- SessionLogs - Class in org.openqa.selenium.logging
-
Contains the logs for a session divided by supported log types.
- SessionLogs() - Constructor for class org.openqa.selenium.logging.SessionLogs
-
- SessionNotCreatedException - Exception in org.openqa.selenium
-
Indicates that a session could not be created.
- SessionNotCreatedException(String) - Constructor for exception org.openqa.selenium.SessionNotCreatedException
-
- SessionNotCreatedException(String, Throwable) - Constructor for exception org.openqa.selenium.SessionNotCreatedException
-
- SessionStorage - Interface in org.openqa.selenium.html5
-
Represents the session storage in the browser for the site currently opened in the browser.
- set(String, String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
Sets the given key to the given value unless the value is null.
- setAutodetect(boolean) - Method in class org.openqa.selenium.Proxy
-
Specifies whether to autodetect proxy settings.
- setAvoidProxy(Capabilities, boolean) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- setBrowserExecutablePath(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
Sets the full path for the browser executable.
- 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.
- setBrowserName(String) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setCapability(String, boolean) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setCapability(String, String) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setCapability(String, Platform) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setCapability(String, Object) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setCommandLineFlags(String) - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- setContext(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Writes a message to the status bar and adds a note to the browser-side log.
- setCursorPosition(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Moves the text cursor to the specified position in the given input element or textarea.
- setExtensionJs(String) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Sets extension Javascript for the session
- setExtensionJs(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Sets the per-session extension Javascript
- setFtpProxy(String) - Method in class org.openqa.selenium.Proxy
-
Specify which proxy to use for FTP connections.
- setHttpProxy(String) - Method in class org.openqa.selenium.Proxy
-
Specify which proxy to use for HTTP connections.
- setHttpsProxy(String) - Method in class org.openqa.selenium.Proxy
-
Specify which proxy to use for HTTPS connections.
- setItem(String, String) - Method in interface org.openqa.selenium.html5.LocalStorage
-
- setItem(String, String) - Method in interface org.openqa.selenium.html5.SessionStorage
-
- setJavascriptEnabled(boolean) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setLocalLogs(LocalLogs) - Method in interface org.openqa.selenium.logging.NeedsLocalLogs
-
- setLocation(Location) - Method in interface org.openqa.selenium.html5.LocationContext
-
Sets the physical location.
- 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
- setNoProxy(String) - Method in class org.openqa.selenium.Proxy
-
- setOnline(boolean) - Method in interface org.openqa.selenium.html5.BrowserConnection
-
Changes the application online state.
- setOnlyProxySeleniumTraffic(Capabilities, boolean) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- setPlatform(Platform) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- setPosition(Point) - Method in interface org.openqa.selenium.WebDriver.Window
-
Set the position of the current 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.
- setProxyAutoconfigUrl(String) - Method in class org.openqa.selenium.Proxy
-
Specifies the URL to be used for proxy auto-configuration.
- setProxyEverything(Capabilities, boolean) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- setProxyRequired(Capabilities, boolean) - Static method in class org.openqa.selenium.browserlaunchers.Proxies
-
- setProxyType(Proxy.ProxyType) - Method in class org.openqa.selenium.Proxy
-
Explicitly sets the proxy type, useful for forcing direct connection on Linux.
- setScriptTimeout(long, TimeUnit) - Method in interface org.openqa.selenium.WebDriver.Timeouts
-
Sets the amount of time to wait for an asynchronous script to finish execution before
throwing an error.
- setSingleWindow() - Method in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
Sets SINGLE_WINDOW
and unsets MULTI_WINDOW
.
- setSize(Dimension) - Method in interface org.openqa.selenium.WebDriver.Window
-
Set the size of the current window.
- setSocksPassword(String) - Method in class org.openqa.selenium.Proxy
-
Specifies a password for the SOCKS proxy.
- setSocksProxy(String) - Method in class org.openqa.selenium.Proxy
-
Specifies which proxy to use for SOCKS.
- setSocksUsername(String) - Method in class org.openqa.selenium.Proxy
-
Specifies a username for the SOCKS proxy.
- 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).
- setSslProxy(String) - Method in class org.openqa.selenium.Proxy
-
Specify which proxy to use for SSL connections.
- 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.
- setVersion(String) - Method in class org.openqa.selenium.remote.DesiredCapabilities
-
- shiftKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
-
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
- shiftKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
-
Release the shift key.
- showContextualBanner() - Method in interface com.thoughtworks.selenium.Selenium
-
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
where those two are derived from the caller The method name will be unCamelCased with the
insertion of spaces at word boundaries
- showContextualBanner(String, String) - Method in interface com.thoughtworks.selenium.Selenium
-
Shows in the RemoteRunner a banner for the current test The banner is 'classname : methodname'
The method name will be unCamelCased with the insertion of spaces at word boundaries
- shutDownSeleniumServer() - Method in interface com.thoughtworks.selenium.Selenium
-
Kills the running Selenium Server and all browser sessions.
- SINGLE_WINDOW - Static variable in class com.thoughtworks.selenium.BrowserConfigurationOptions
-
- SingleKeyAction - Class in org.openqa.selenium.interactions.internal
-
Used both by KeyDownAction and KeyUpAction
- SingleKeyAction(Keyboard, Mouse, Keys) - Constructor for class org.openqa.selenium.interactions.internal.SingleKeyAction
-
- SingleKeyAction(Keyboard, Mouse, Locatable, Keys) - Constructor for class org.openqa.selenium.interactions.internal.SingleKeyAction
-
- singleTap(WebElement) - Method in class org.openqa.selenium.interactions.touch.TouchActions
-
- singleTap(Coordinates) - Method in interface org.openqa.selenium.TouchScreen
-
Allows the execution of single tap on the screen, analogous to click using a Mouse.
- SingleTapAction - Class in org.openqa.selenium.interactions.touch
-
Creates a single tap gesture on a touch screen
- SingleTapAction(TouchScreen, Locatable) - Constructor for class org.openqa.selenium.interactions.touch.SingleTapAction
-
- size() - Method in interface org.openqa.selenium.html5.LocalStorage
-
- size() - Method in class org.openqa.selenium.html5.ResultSetRows
-
The number of rows returned by the database.
- size() - Method in interface org.openqa.selenium.html5.SessionStorage
-
- SocketLock - Class in org.openqa.selenium.internal
-
Implements
Lock
via an implementation that uses a well-known
server socket.
- SocketLock() - Constructor for class org.openqa.selenium.internal.SocketLock
-
Constructs a new SocketLock using the default port.
- SocketLock(int) - Constructor for class org.openqa.selenium.internal.SocketLock
-
Constructs a new SocketLock.
- SocketLock(InetSocketAddress) - Constructor for class org.openqa.selenium.internal.SocketLock
-
Constructs a new SocketLock.
- SPEED_FAST - Static variable in class org.openqa.selenium.interactions.touch.FlickAction
-
- SPEED_NORMAL - Static variable in class org.openqa.selenium.interactions.touch.FlickAction
-
- StaleElementReferenceException - Exception in org.openqa.selenium
-
Indicates that a reference to an element is now "stale" --- the element no longer appears on the
DOM of the page.
- StaleElementReferenceException(String) - Constructor for exception org.openqa.selenium.StaleElementReferenceException
-
- StaleElementReferenceException(String, Throwable) - Constructor for exception org.openqa.selenium.StaleElementReferenceException
-
- start() - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Starts a new Selenium testing session
- start(String) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Starts a new Selenium testing session with a String, representing a configuration
- start(Object) - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Starts a new Selenium testing session with a configuration options object
- start() - Method in interface com.thoughtworks.selenium.Selenium
-
Launches the browser with a new Selenium session
- start(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Starts a new Selenium testing session with a String, representing a configuration
- start(Object) - Method in interface com.thoughtworks.selenium.Selenium
-
Starts a new Selenium testing session with a configuration options object
- stop() - Method in interface com.thoughtworks.selenium.CommandProcessor
-
Ends the current Selenium testing session (normally killing the browser)
- stop() - Method in interface com.thoughtworks.selenium.Selenium
-
Ends the test session, killing the browser
- submit(String) - Method in interface com.thoughtworks.selenium.Selenium
-
Submit the specified form.
- submit() - Method in interface org.openqa.selenium.WebElement
-
If this current element is a form, or an element within a form, then this will be submitted to
the remote server.
- subSequence(int, int) - Method in enum org.openqa.selenium.Keys
-
- SUPPORTS_ALERTS - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_APPLICATION_CACHE - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_BROWSER_CONNECTION - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_FINDING_BY_CSS - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_JAVASCRIPT - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_LOCATION_CONTEXT - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_SQL_DATABASE - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- SUPPORTS_WEB_STORAGE - Static variable in interface org.openqa.selenium.remote.CapabilityType
-
- switchTo() - Method in interface org.openqa.selenium.WebDriver
-
Send future commands to a different frame or window.
- validate() - Method in class org.openqa.selenium.Cookie
-
- value() - Method in enum org.openqa.selenium.html5.AppCacheStatus
-
- value() - Method in enum org.openqa.selenium.ScreenOrientation
-
- valueOf(String) - Static method in enum org.openqa.selenium.Architecture
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.html5.AppCacheStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.Keys
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.logging.profiler.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.Platform
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.Proxy.ProxyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.ScreenOrientation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.openqa.selenium.UnexpectedAlertBehaviour
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.openqa.selenium.Architecture
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.html5.AppCacheStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.Keys
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.logging.profiler.EventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.Platform
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.Proxy.ProxyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.ScreenOrientation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.openqa.selenium.UnexpectedAlertBehaviour
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION - Static variable in interface org.openqa.selenium.remote.CapabilityType
-