Index of all elements
[ % ]
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ m ]
[ o ]
[ r ]
[ s ]
[ t ]
[ u ]
[ w ]
[ _ ]
top
a
- addLocationStrategy
- in file Selenium.php, method Testing_Selenium::addLocationStrategy()
Defines a new function for Selenium to locate elements on the page.
- 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.
- allowNativeXpath
- in file Selenium.php, method Testing_Selenium::allowNativeXpath()
Specifies whether Selenium should use the native in-browser implementation of XPath (if any native version is available); if you pass "false" to this function, we will always use our pure-JavaScript xpath library.
- altKeyDown
- in file Selenium.php, method Testing_Selenium::altKeyDown()
Press the alt key and hold it down until doAltUp() is called or a new page is loaded.
- altKeyUp
- in file Selenium.php, method Testing_Selenium::altKeyUp()
Release the alt key.
- 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()].
- assignId
- in file Selenium.php, method Testing_Selenium::assignId()
Temporarily sets the "id" attribute of the specified element, so you can locate it in the future using its ID rather than a slow/complicated XPath. This ID will disappear once the page is reloaded.
top
c
- captureScreenshot
- in file Selenium.php, method Testing_Selenium::captureScreenshot()
Captures a PNG screenshot to the specified file.
- 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
- chooseOkOnNextConfirmation
- in file Selenium.php, method Testing_Selenium::chooseOkOnNextConfirmation()
Undo the effect of calling chooseCancelOnNextConfirmation. Note
- click
- in file Selenium.php, method Testing_Selenium::click()
Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does), call waitForPageToLoad.
- clickAt
- in file Selenium.php, method Testing_Selenium::clickAt()
Clicks on a link, button, checkbox or radio button. If the click action causes 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.
- controlKeyDown
- in file Selenium.php, method Testing_Selenium::controlKeyDown()
Press the control key and hold it down until doControlUp() is called or a new page is loaded.
- controlKeyUp
- in file Selenium.php, method Testing_Selenium::controlKeyUp()
Release the control key.
- createCookie
- in file Selenium.php, method Testing_Selenium::createCookie()
Create a new cookie whose path and domain are same with those of current page under test, unless you specified a path for this cookie explicitly.
top
d
- deleteCookie
- in file Selenium.php, method Testing_Selenium::deleteCookie()
Delete a named cookie with specified path.
- doCommand
- in file Selenium.php, method Testing_Selenium::doCommand()
- doubleClick
- in file Selenium.php, method Testing_Selenium::doubleClick()
Double clicks on a link, button, checkbox or radio button. If the double click action causes a new page to load (like a link usually does), call waitForPageToLoad.
- doubleClickAt
- in file Selenium.php, method Testing_Selenium::doubleClickAt()
Doubleclicks on a link, button, checkbox or radio button. If the action causes a new page to load (like a link usually does), call waitForPageToLoad.
- dragAndDrop
- in file Selenium.php, method Testing_Selenium::dragAndDrop()
Drags an element a certain distance and then drops it
- dragAndDropToObject
- in file Selenium.php, method Testing_Selenium::dragAndDropToObject()
Drags an element and drops it on another element
- dragdrop
- in file Selenium.php, method Testing_Selenium::dragdrop()
deprecated - use dragAndDrop instead
top
top
f
- fireEvent
- in file Selenium.php, method Testing_Selenium::fireEvent()
Explicitly simulate an event, to trigger the corresponding "onevent" 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 input fields on the page.
- getAllLinks
- in file Selenium.php, method Testing_Selenium::getAllLinks()
Returns the IDs of all links on the page.
- getAllWindowIds
- in file Selenium.php, method Testing_Selenium::getAllWindowIds()
Returns the IDs of all windows that the browser knows about.
- getAllWindowNames
- in file Selenium.php, method Testing_Selenium::getAllWindowNames()
Returns the names of all windows that the browser knows about.
- getAllWindowTitles
- in file Selenium.php, method Testing_Selenium::getAllWindowTitles()
Returns the titles of all windows that the browser knows about.
- getAttribute
- in file Selenium.php, method Testing_Selenium::getAttribute()
Gets the value of an element attribute.
- getAttributeFromAllWindows
- in file Selenium.php, method Testing_Selenium::getAttributeFromAllWindows()
Returns every instance of some attribute from all known windows.
- 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.
- getCookie
- in file Selenium.php, method Testing_Selenium::getCookie()
Return all cookies of the current page under test.
- 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.
- getElementHeight
- in file Selenium.php, method Testing_Selenium::getElementHeight()
Retrieves the height of an element
- getElementIndex
- in file Selenium.php, method Testing_Selenium::getElementIndex()
Get the relative index of an element to its parent (starting from 0). The comment node and empty text node will be ignored.
- getElementPositionLeft
- in file Selenium.php, method Testing_Selenium::getElementPositionLeft()
Retrieves the horizontal position of an element
- getElementPositionTop
- in file Selenium.php, method Testing_Selenium::getElementPositionTop()
Retrieves the vertical position of an element
- getElementWidth
- in file Selenium.php, method Testing_Selenium::getElementWidth()
Retrieves the width of an element
- 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.
- getMouseSpeed
- in file Selenium.php, method Testing_Selenium::getMouseSpeed()
Returns the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
- 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 option label (visible text) for selected option in the specified select element.
- getSelectedLabels
- in file Selenium.php, method Testing_Selenium::getSelectedLabels()
Gets all 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.
- getSpeed
- in file Selenium.php, method Testing_Selenium::getSpeed()
Get execution speed (i.e., get the millisecond length of the delay following each selenium operation). By default, there is no such delay, i.e., the delay is 0 milliseconds.
- 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 text. This command uses either the textContent (Mozilla-like browsers) or the innerText (IE-like browsers) of the element, which is the rendered text shown to the user.
- 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).
- getWhetherThisFrameMatchFrameExpression
- in file Selenium.php, method Testing_Selenium::getWhetherThisFrameMatchFrameExpression()
Determine whether current/locator identify the frame containing this running code.
- getWhetherThisWindowMatchWindowExpression
- in file Selenium.php, method Testing_Selenium::getWhetherThisWindowMatchWindowExpression()
Determine whether currentWindowString plus target identify the window containing this running code.
- getXpathCount
- in file Selenium.php, method Testing_Selenium::getXpathCount()
Returns the number of nodes that match the specified xpath, eg. "//table" would give the number of tables.
- goBack
- in file Selenium.php, method Testing_Selenium::goBack()
Simulates the user clicking the "back" button on their browser.
top
h
- highlight
- in file Selenium.php, method Testing_Selenium::highlight()
Briefly changes the backgroundColor of the specified element yellow. Useful for debugging.
top
i
- isAlertPresent
- in file Selenium.php, method Testing_Selenium::isAlertPresent()
Has an alert occurred?
- isChecked
- in file Selenium.php, method Testing_Selenium::isChecked()
Gets whether a toggle-button (checkbox/radio) is checked. Fails if the specified element doesn'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.
- isOrdered
- in file Selenium.php, method Testing_Selenium::isOrdered()
Check if these two elements have same parent and are ordered siblings in the DOM. Two same elements will not be considered ordered.
- isPromptPresent
- in file Selenium.php, method Testing_Selenium::isPromptPresent()
Has a prompt occurred?
- 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
top
m
- metaKeyDown
- in file Selenium.php, method Testing_Selenium::metaKeyDown()
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
- metaKeyUp
- in file Selenium.php, method Testing_Selenium::metaKeyUp()
Release the meta key.
- mouseDown
- in file Selenium.php, method Testing_Selenium::mouseDown()
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- mouseDownAt
- in file Selenium.php, method Testing_Selenium::mouseDownAt()
Simulates a user pressing the mouse button (without releasing it yet) at the specified location.
- mouseMove
- in file Selenium.php, method Testing_Selenium::mouseMove()
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- mouseMoveAt
- in file Selenium.php, method Testing_Selenium::mouseMoveAt()
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
- mouseOut
- in file Selenium.php, method Testing_Selenium::mouseOut()
Simulates a user moving the mouse pointer away from the specified element.
- mouseOver
- in file Selenium.php, method Testing_Selenium::mouseOver()
Simulates a user hovering a mouse over the specified element.
- mouseUp
- in file Selenium.php, method Testing_Selenium::mouseUp()
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) on the specified element.
- mouseUpAt
- in file Selenium.php, method Testing_Selenium::mouseUpAt()
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) at the specified location.
top
o
- open
- in file Selenium.php, method Testing_Selenium::open()
Opens an URL in the test frame. This accepts both relative and absolute URLs.
- openWindow
- in file Selenium.php, method Testing_Selenium::openWindow()
Opens a popup window (if a window with that ID isn't already open).
top
top
s
- select
- in file Selenium.php, method Testing_Selenium::select()
Select an option from a drop-down using an option locator.
- selectFrame
- in file Selenium.php, method Testing_Selenium::selectFrame()
Selects a frame within the current window. (You may invoke this command multiple times to select nested frames.) To select the parent frame, use "relative=parent" as a locator; to select the top frame, use "relative=top".
- 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.
- setBrowserLogLevel
- in file Selenium.php, method Testing_Selenium::setBrowserLogLevel()
Sets the threshold for browser-side logging messages; log messages beneath this threshold will be discarded.
- 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.
- setMouseSpeed
- in file Selenium.php, method Testing_Selenium::setMouseSpeed()
Configure the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
- setSpeed
- in file Selenium.php, method Testing_Selenium::setSpeed()
Set execution speed (i.e., set the millisecond length of a delay which will follow each selenium operation). By default, there is no such delay, i.e., the delay is 0 milliseconds.
- setTimeout
- in file Selenium.php, method Testing_Selenium::setTimeout()
Specifies the amount of time that Selenium will wait for actions to complete.
- shiftKeyDown
- in file Selenium.php, method Testing_Selenium::shiftKeyDown()
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
- shiftKeyUp
- in file Selenium.php, method Testing_Selenium::shiftKeyUp()
Release the shift key.
- 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
Defines an object that runs Selenium commands.
- Testing_Selenium_Exception
- in file Exception.php, class Testing_Selenium_Exception
Testing_Selenium_Exception
- type
- in file Selenium.php, method Testing_Selenium::type()
Sets the value of an input field, as though you typed it in.
- typeKeys
- in file Selenium.php, method Testing_Selenium::typeKeys()
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 15:39:52 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|