Selenium
[ class tree: Selenium ] [ index: Selenium ] [ all elements ]

Element index for package Selenium

[ a ] [ c ] [ e ] [ f ] [ g ] [ i ] [ k ] [ m ] [ o ] [ r ] [ s ] [ t ] [ u ] [ w ] [ _ ]

_

__construct
in file Selenium.php, method Selenium::__construct()
    Constructor
top

a

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

c

check
in file Selenium.php, method Selenium::check()
    Check a toggle-button (checkbox/radio)
chooseCancelOnNextConfirmation
in file Selenium.php, method Selenium::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
in file Selenium.php, method Selenium::click()
    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
in file Selenium.php, method Selenium::close()
    Simulates the user clicking the "close" button" in the titlebar of a popup window or tab.
top

e

example.php
procedural page example.php
top

f

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

g

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

i

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

k

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

m

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

o

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

r

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

s

select
in file Selenium.php, method Selenium::select()
    Select an option from a drop-down using an option locator.
selectWindow
in file Selenium.php, method Selenium::selectWindow()
    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
in file Selenium.php, class Selenium
    Selenium
Selenium.php
procedural page Selenium.php
Selenium_Exception
in file Exception.php, class Selenium_Exception
    Testing_Selenium_Exception
setContext
in file Selenium.php, method Selenium::setContext()
    Writes a message to the status bar and adds a note to the browser-side log.
setCursorPosition
in file Selenium.php, method Selenium::setCursorPosition()
    Moves the text cursor to the specified position in the given input element or textarea.
setDriver
in file Selenium.php, method Selenium::setDriver()
    Set driver for HTTP Request.
setTimeout
in file Selenium.php, method Selenium::setTimeout()
    Specifies the amount of time that Selenium will wait for actions to complete.
start
in file Selenium.php, method Selenium::start()
    Run the browser and set session id.
stop
in file Selenium.php, method Selenium::stop()
    Close the browser and set session id null
submit
in file Selenium.php, method Selenium::submit()
    Submit the specified form. This is particularly useful for forms without submit buttons, e.g. single-input "Search" forms.
top

t

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

u

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

w

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

Documentation generated on Mon, 11 Mar 2019 14:46:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.