PHP Class Prose\UsingBrowser

Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer Class Usage Examples

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
initActions ( )

Method Details

check() public méthode

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

clear() public méthode

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

click() public méthode

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

closeCurrentWindow() public méthode

public closeCurrentWindow ( )

gotoPage() public méthode

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

initActions() protected méthode

protected initActions ( )

resizeCurrentWindow() public méthode

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

select() public méthode

choose an option from a