Full index

Package indexes


a c e f g i k m o r s t u w _
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
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
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
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
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
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
Returns the specified expression.
getHtmlSource
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
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
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
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
Has confirm() been called?
isEditable
Selenium::isEditable() in Selenium.php
Determines whether the specified input element is editable, ie hasn't been disabled.
isElementPresent
Verifies that the specified element is somewhere on the page.
isPromptPresent
Has a prompt occured?
isSomethingSelected
Determines whether some option in a drop-down menu is selected.
isTextPattern
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
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
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
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
waitForPageToLoad
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
a c e f g i k m o r s t u w _