Specifies whether Selenium will ignore xpath attributes that have no value, i.e.
function self:ignoreAttributesWithoutValue( ignore )
Has an alert occurred?
function self:isAlertPresent()
Gets whether a toggle-button (checkbox/radio) is checked.
function self:isChecked( locator )
function self:isCookiePresent( name )
Determines whether the specified input element is editable, ie hasn’t been disabled.
function self:isEditable( locator )
Verifies that the specified element is somewhere on the page.
function self:isElementPresent( locator )
Check if these two elements have same parent and are ordered siblings in the DOM.
function self:isOrdered( locator1, locator2 )
Has a prompt occurred?
function self:isPromptPresent()
Determines whether some option in a drop-down menu is selected.
function self:isSomethingSelected( selectLocator )
Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
function self:isTextPresent( pattern )
Simulates a user pressing a key (without releasing it yet) by sending a native operating system keystroke.
function self:keyDownNative( keycode )
Simulates a user pressing and releasing a key.
function self:keyPress( locator, keySequence )
Simulates a user pressing and releasing a key by sending a native operating system keystroke.
function self:keyPressNative( keycode )
Simulates a user releasing a key by sending a native operating system keystroke.
function self:keyUpNative( keycode )
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
function self:metaKeyDown()
Release the meta key.
function self:metaKeyUp()
Simulates a user pressing the right mouse button (without releasing it yet) at the specified location.
function self:mouseDown( locator )
Simulates a user pressing the left mouse button (without releasing it yet) at the specified location.
function self:mouseDownAt( locator, coordString )
Simulates a user pressing the right mouse button (without releasing it yet) at the specified location.
function self:mouseDownRightAt( locator, coordString )
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
function self:mouseMove( locator )
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
function self:mouseMoveAt( locator, coordString )
Simulates a user moving the mouse pointer away from the specified element.
function self:mouseOut( locator )
Simulates a user hovering a mouse over the specified element.
function self:mouseOver( locator )
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) on the specified element.
function self:mouseUp( locator )
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) at the specified location.
function self:mouseUpAt( locator, coordString )
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) on the specified element.
function self:mouseUpRight( locator )
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) at the specified location.
function self:mouseUpRightAt( locator, coordString )
Opens a popup window (if a window with that ID isn’t already open).
function self:openWindow( Url, windowID )
Simulates the user clicking the “Refresh” button on their browser.
function self:refresh()
Unselects all of the selected options in a multi-select element.
function self:removeAllSelections( locator )
Remove a selection from the set of selected options in a multi-select element using an option locator.
function self:removeSelection( locator, optionLocator )
Retrieve the last messages logged on a specific remote control.
function self:retrieveLastRemoteControlLogs()
Executes a command rollup, which is a series of commands with a unique name, and optionally arguments that control the generation of the set of commands.
function self:rollup( rollupName, kwargs )
Select an option from a drop-down using an option locator.
function self:select( selectLocator, optionLocator )
Selects a frame within the current window.
function self:selectFrame( locator )
Simplifies the process of selecting a popup window (and does not offer functionality beyond what selectWindow() already provides).
function self:selectPopUp( windowID )
Selects a popup window using a window locator-- once a popup window has been selected, all commands go to that window.
function self:selectWindow( windowID )
Sets the threshold for browser-side logging messages-- log messages beneath this threshold will be discarded.
function self:setBrowserLogLevel( logLevel )
Writes a message to the status bar and adds a note to the browser-side log.
function self:setContext( context )
Moves the text cursor to the specified position in the given input element or textarea.
function self:setCursorPosition( locator, position )
Configure the number of pixels between “mousemove” events during dragAndDrop commands (default=10).
function self:setMouseSpeed( pixels )
Set execution speed (i.e., set the millisecond length of a delay which will follow each selenium operation).
function self:setSpeed( value )
Specifies the amount of time that Selenium will wait for actions to complete.
function self:setTimeout( Timeout )
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
function self:shiftKeyDown()
Release the shift key.
function self:shiftKeyUp()
Kills the running Selenium Server and all browser sessions.
function self:shutDownSeleniumServer()
splits a string on separator
function split( str, pat )
Run the browser and set session id.
function self:start()
Close the browser and set session id null.
function self:stop()
Submit the specified form.
function self:submit( formLocator )
Sets the value of an input field, as though you d it in.
function self:type( locator, value )
Simulates keystroke events on the specified element, as though you typed the value key-by-key.
function self:typeKeys( locator, value )
Uncheck a toggle-button (checkbox/radio)
function self:uncheck( locator )
Allows choice of one of the available libraries.
function self:useXpathLibrary( libraryName )
Waits for a new frame to load.
function self:waitForFrameToLoad( frameAddress, Timeout )
Waits for a new page to load.
function self:waitForPageToLoad( timeout )
Waits for a popup window to appear and load up.
function self:waitForPopUp( windowID, Timeout )
Gives focus to the currently selected window
function self:windowFocus()
Resize currently selected window to take up the entire screen
function self:windowMaximize()