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

Element index for package Testing_Selenium

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

_

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

a

addSelection
in file Selenium.php, method Testing_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 Testing_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 Testing_Selenium::check()
    Check a toggle-button (checkbox/radio)
chooseCancelOnNextConfirmation
in file Selenium.php, method Testing_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 Testing_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 Testing_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 Testing_Selenium::fireEvent()
    Explicitly simulate an event, to trigger the corresponding "on<em>event</em>" handler
top

g

getAlert
in file Selenium.php, method Testing_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 Testing_Selenium::getAllButtons()
    Returns the IDs of all buttons on the page.
getAllFields
in file Selenium.php, method Testing_Selenium::getAllFields()
    Returns the IDs of all nput fields on the page.
getAllLinks
in file Selenium.php, method Testing_Selenium::getAllLinks()
    Returns the IDs of all links on the page.
getAttribute
in file Selenium.php, method Testing_Selenium::getAttribute()
    Gets the value of an element attribute
getBodyText
in file Selenium.php, method Testing_Selenium::getBodyText()
    Gets the entire text of the page.
getConfirmation
in file Selenium.php, method Testing_Selenium::getConfirmation()
    Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
getCursorPosition
in file Selenium.php, method Testing_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 Testing_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 Testing_Selenium::getExpression()
    Returns the specified expression.
getHtmlSource
in file Selenium.php, method Testing_Selenium::getHtmlSource()
    Returns the entire HTML source between the opening and closing "html" tags.
getLocation
in file Selenium.php, method Testing_Selenium::getLocation()
    Gets the absolute URL of the current page.
getPrompt
in file Selenium.php, method Testing_Selenium::getPrompt()
    Retrieves the message of a JavaScript question prompt dialog generated during the previous action.
getSelectedId
in file Selenium.php, method Testing_Selenium::getSelectedId()
    Gets option element ID for selected option in the specified select element.
getSelectedIds
in file Selenium.php, method Testing_Selenium::getSelectedIds()
    Gets all option element IDs for selected options in the specified select or multi-select element.
getSelectedIndex
in file Selenium.php, method Testing_Selenium::getSelectedIndex()
    Gets option index (option number, starting at 0) for selected option in the specified select element.
getSelectedIndexes
in file Selenium.php, method Testing_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 Testing_Selenium::getSelectedLabel()
    Gets all option labels (visible text) for selected options in the specified selector multi-select element.
getSelectedLabels
in file Selenium.php, method Testing_Selenium::getSelectedLabels()
    Getsall option labels (visible text) for selected options in the specified select or multi-select element.
getSelectedValue
in file Selenium.php, method Testing_Selenium::getSelectedValue()
    Gets option value (value attribute) for selected option in the specified select element.
getSelectedValues
in file Selenium.php, method Testing_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 Testing_Selenium::getSelectOptions()
    Gets all option labels in the specified select drop-down.
getTable
in file Selenium.php, method Testing_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 Testing_Selenium::getText()
    Gets the text of an element. This works for any element that contains
getTitle
in file Selenium.php, method Testing_Selenium::getTitle()
    Gets the title of the current page.
getValue
in file Selenium.php, method Testing_Selenium::getValue()
    Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter).
goBack
in file Selenium.php, method Testing_Selenium::goBack()
    Simulates the user clicking the "back" button" on their browser.
top

i

isAlertPresent
in file Selenium.php, method Testing_Selenium::isAlertPresent()
    Has an alert occured?
isChecked
in file Selenium.php, method Testing_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 Testing_Selenium::isConfirmationPresent()
    Has confirm() been called?
isEditable
in file Selenium.php, method Testing_Selenium::isEditable()
    Determines whether the specified input element is editable, ie hasn't been disabled.
isElementPresent
in file Selenium.php, method Testing_Selenium::isElementPresent()
    Verifies that the specified element is somewhere on the page.
isPromptPresent
in file Selenium.php, method Testing_Selenium::isPromptPresent()
    Has a prompt occured?
isSomethingSelected
in file Selenium.php, method Testing_Selenium::isSomethingSelected()
    Determines whether some option in a drop-down menu is selected.
isTextPresent
in file Selenium.php, method Testing_Selenium::isTextPresent()
    Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
isVisible
in file Selenium.php, method Testing_Selenium::isVisible()
    Determines if the specified element is visible. An
top

k

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

m

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

o

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

r

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

t

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

u

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

w

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

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