-
getAlert
-
Retrieves the message of a JavaScript alert generated during the previous action, or fail if there were no alerts.
-
getAllButtons
-
Returns the IDs of all buttons on the page.
-
getAllFields
-
Returns the IDs of all nput fields on the page.
-
getAllLinks
-
Returns the IDs of all links on the page.
-
getAttribute
-
Gets the value of an element attribute
-
getBodyText
-
Gets the entire text of the page.
-
getConfirmation
-
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
-
getCursorPosition
-
Retrieves the text cursor position in the given input element or textarea; beware, this may not work perfectly on all browsers.
-
getEval
-
Gets the result of evaluating the specified JavaScript snippet. The snippet may have multiple lines, but only the result of the last line will be returned.
-
getExpression
-
Returns the specified expression.
-
getHtmlSource
-
Returns the entire HTML source between the opening and closing "html" tags.
-
getLocation
-
Gets the absolute URL of the current page.
-
getPrompt
-
Retrieves the message of a JavaScript question prompt dialog generated during the previous action.
-
getSelectedId
-
Gets option element ID for selected option in the specified select element.
-
getSelectedIds
-
Gets all option element IDs for selected options in the specified select or multi-select element.
-
getSelectedIndex
-
Gets option index (option number, starting at 0) for selected option in the specified select element.
-
getSelectedIndexes
-
Gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
-
getSelectedLabel
-
Gets all option labels (visible text) for selected options in the specified selector multi-select element.
-
getSelectedLabels
-
Getsall option labels (visible text) for selected options in the specified select or multi-select element.
-
getSelectedValue
-
Gets option value (value attribute) for selected option in the specified select element.
-
getSelectedValues
-
Gets all option values (value attributes) for selected options in the specified select or multi-select element.
-
getSelectOptions
-
Gets all option labels in the specified select drop-down.
-
getTable
-
Gets the text from a cell of a table. The cellAddress syntax tableLocator.row.column, where row and column start at 0.
-
getText
-
Gets the text of an element. This works for any element that contains
-
getTitle
-
Gets the title of the current page.
-
getValue
-
Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter).
-
goBack
-
Simulates the user clicking the "back" button" on their browser.