## Full index

### Package indexes

- Selenium

a
top

addSelection
  Selenium::addSelection() in Selenium.php
  Add a selection to the set of selected options in a multi-select element using an option locator.
answerOnNextPrompt
  Selenium::answerOnNextPrompt() in Selenium.php
  Instructs Selenium to return the specified answer string in response to the next JavaScript prompt [window.prompt()].

c
top

check
  Selenium::check() in Selenium.php
  Check a toggle-button (checkbox/radio)
chooseCancelOnNextConfirmation
  Selenium::chooseCancelOnNextConfirmation() in Selenium.php
  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.
click
  Selenium::click() in Selenium.php
  Clicks on a link, button, checkbox or radio button. If the click action cause a new page to load (like a link usually does), call waitForPageToLoad.
close
  Selenium::close() in Selenium.php
  Simulates the user clicking the "close" button" in the titlebar of a popup window or tab.

e
top

Exception.php
  Exception.php in Exception.php

f
top

fireEvent
  Selenium::fireEvent() in Selenium.php
  Explicitly simulate an event, to trigger the corresponding "on<em>event</em>" handler

g
top

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

i
top

isAlertPresent
  Selenium::isAlertPresent() in Selenium.php
  Has an alert occured?
isChecked
  Selenium::isChecked() in Selenium.php
  Gets whether a toggle-button (checkbox/radio) is checked. Fails if the specified element does't exist or isn't a toggle button.
isConfirmationPresent
  Selenium::isConfirmationPresent() in Selenium.php
  Has confirm() been called?
isEditable
  Selenium::isEditable() in Selenium.php
  Determines whether the specified input element is editable, ie hasn't been disabled.
isElementPresent
  Selenium::isElementPresent() in Selenium.php
  Verifies that the specified element is somewhere on the page.
isPromptPresent
  Selenium::isPromptPresent() in Selenium.php
  Has a prompt occured?
isSomethingSelected
  Selenium::isSomethingSelected() in Selenium.php
  Determines whether some option in a drop-down menu is selected.
isTextPattern
  Selenium::isTextPattern() in Selenium.php
  Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
isVisible
  Selenium::isVisible() in Selenium.php
  Determines if the specified element is visible. An

k
top

keyDown
  Selenium::keyDown() in Selenium.php
  Simulates a user pressing and pressing a key (without releasing it yet).
keyPress
  Selenium::keyPress() in Selenium.php
  Simulates a user pressing and releasing a key.
keyUp
  Selenium::keyUp() in Selenium.php
  Simulates a user releasing a key

m
top

mouseDown
  Selenium::mouseDown() in Selenium.php
  Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseOver
  Selenium::mouseOver() in Selenium.php
  Simulates a user hovering a mouse over the specified element.

o
top

open
  Selenium::open() in Selenium.php
  Open the UrL in the test frame. This accepts both relative and absolute URLs.

r
top

refresh
  Selenium::refresh() in Selenium.php
  Simulates the user clicking the "Refresh" button" on their browser.
removeSelection
  Selenium::removeSelection() in Selenium.php
  Remove a selection to the set of selected options in a multi-select element using an option locator.

s
top

select
  Selenium::select() in Selenium.php
  Select an option from a drop-down using an option locator.
selectWindow
  Selenium::selectWindow() in Selenium.php
  Selects a popup window; once a popup window has been selected, all commands go to that window. To select the main window again, use "null" as the target.
Selenium
  Selenium in Selenium.php
  Selenium
Selenium.php
  Selenium.php in Selenium.php
Selenium_Exception
  Selenium_Exception in Exception.php
  Testing_Selenium_Exception
setContext
  Selenium::setContext() in Selenium.php
  Writes a message to the status bar and adds a note to the browser-side log.
setCursorPosition
  Selenium::setCursorPosition() in Selenium.php
  Moves the text cursor to the specified position in the given input element or textarea.
setDriver
  Selenium::setDriver() in Selenium.php
  Set driver for HTTP Request.
setTimeout
  Selenium::setTimeout() in Selenium.php
  Specifies the amount of time that Selenium will wait for actions to complete.
start
  Selenium::start() in Selenium.php
  Run the browser and set session id.
stop
  Selenium::stop() in Selenium.php
  Close the browser and set session id null
submit
  Selenium::submit() in Selenium.php
  Submit the specified form. This is particularly useful for forms without submit buttons, e.g. single-input "Search" forms.

t
top

type
  Selenium::type() in Selenium.php
  Set the value of an input field, as though you typed it in.

u
top

uncheck
  Selenium::uncheck() in Selenium.php
  Uncheck a toggle-button (checkbox/radio)

w
top

waitForCondition
  Selenium::waitForCondition() in Selenium.php
  Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
waitForPageToLoad
  Selenium::waitForPageToLoad() in Selenium.php
  Waits for a new page to load.
waitForPopUp
  Selenium::waitForPopUp() in Selenium.php
  Wait for a popup window to appear and load up.

_
top

__construct
  Selenium::__construct() in Selenium.php
  Constructor