Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Prose
UsingBrowser
PHP Class Prose\UsingBrowser
See link:
http://datasift.github.io/storyplayer
Author:
Stuart Herbert (
[email protected]
)
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
box
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
box public select ( string $label ) : SingleElementAction $label string the human-readable text of the option to select return DataSift\Storyplayer\BrowserLib\SingleElementAction setHttpBasicAuthForHost() public method ------------------------------------------------------------------ public setHttpBasicAuthForHost ( $hostname, $username, $password ) switchToIframe() public method ------------------------------------------------------------------ public switchToIframe ( $id ) switchToMainFrame() public method public switchToMainFrame ( ) switchToWindow() public method public switchToWindow ( $name ) type() public method type text into an input field public type ( string $text ) : SingleElementAction $text string the text to type return DataSift\Storyplayer\BrowserLib\SingleElementAction waitForOverlay() public method public waitForOverlay ( $timeout, $id ) waitForTitle() public method public waitForTitle ( $timeout, $title, $failedTitle = null ) waitForTitles() public method public waitForTitles ( $timeout, $titles ) Top-Funktionen | Top-Klassen | Dokumentation | Datenschutz-Bestimmungen | Advertise with us PHP | C# (CSharp) | Java | Golang | C++ (Cpp) | Python | JavaScript | TypeScript EN | RU | DE | FR | ES | PT | IT | JP | ZH | KO