PHP Class Prose\UsingBrowser

Inheritance: extends Prose
Datei anzeigen Open project: datasift/storyplayer Class Usage Examples

Public Methods

Method Description
check ( ) : SingleElementAction tick a checkbox or radio button if it has not yet been checked
clear ( ) : SingleElementAction remove any content from an input box, or untick a checkbox or radio button
click ( ) : SingleElementAction Send a 'click' to the selected element
closeCurrentWindow ( )
gotoPage ( $url ) ------------------------------------------------------------------
resizeCurrentWindow ( $width, $height ) ------------------------------------------------------------------
select ( string $label ) : SingleElementAction choose an option from a
setHttpBasicAuthForHost ( $hostname, $username, $password ) ------------------------------------------------------------------
switchToIframe ( $id ) ------------------------------------------------------------------
switchToMainFrame ( )
switchToWindow ( $name )
type ( string $text ) : SingleElementAction type text into an input field
waitForOverlay ( $timeout, $id )
waitForTitle ( $timeout, $title, $failedTitle = null )
waitForTitles ( $timeout, $titles )

Protected Methods

Method Description
initActions ( )

Method Details

check() public method

tick a checkbox or radio button if it has not yet been checked
public check ( ) : SingleElementAction
return DataSift\Storyplayer\BrowserLib\SingleElementAction

clear() public method

remove any content from an input box, or untick a checkbox or radio button
public clear ( ) : SingleElementAction
return DataSift\Storyplayer\BrowserLib\SingleElementAction

click() public method

Send a 'click' to the selected element
public click ( ) : SingleElementAction
return DataSift\Storyplayer\BrowserLib\SingleElementAction

closeCurrentWindow() public method

public closeCurrentWindow ( )

gotoPage() public method

------------------------------------------------------------------
public gotoPage ( $url )

initActions() protected method

protected initActions ( )

resizeCurrentWindow() public method

------------------------------------------------------------------
public resizeCurrentWindow ( $width, $height )

select() public method

choose an option from a