Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Prose
UsingBrowser
PHP 클래스 Prose\UsingBrowser
링크 보기:
http://datasift.github.io/storyplayer
저자:
Stuart Herbert (
[email protected]
)
상속:
extends
Prose
파일 보기
프로젝트 열기: datasift/storyplayer
1 사용 예제들
공개 메소드들
메소드
설명
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
)
보호된 메소드들
메소드
설명
initActions
( )
메소드 상세
check()
공개
메소드
tick a checkbox or radio button if it has not yet been checked
public
check
( ) :
SingleElementAction
리턴
DataSift\Storyplayer\BrowserLib\SingleElementAction
clear()
공개
메소드
remove any content from an input box, or untick a checkbox or radio button
public
clear
( ) :
SingleElementAction
리턴
DataSift\Storyplayer\BrowserLib\SingleElementAction
click()
공개
메소드
Send a 'click' to the selected element
public
click
( ) :
SingleElementAction
리턴
DataSift\Storyplayer\BrowserLib\SingleElementAction
closeCurrentWindow()
공개
메소드
public
closeCurrentWindow
( )
gotoPage()
공개
메소드
------------------------------------------------------------------
public
gotoPage
(
$url
)
initActions()
보호된
메소드
protected
initActions
( )
resizeCurrentWindow()
공개
메소드
------------------------------------------------------------------
public
resizeCurrentWindow
(
$width
,
$height
)
select()
공개
메소드
choose an option from a
box public select ( string $label ) : SingleElementAction $label string the human-readable text of the option to select 리턴 DataSift\Storyplayer\BrowserLib\SingleElementAction setHttpBasicAuthForHost() 공개 메소드 ------------------------------------------------------------------ public setHttpBasicAuthForHost ( $hostname, $username, $password ) switchToIframe() 공개 메소드 ------------------------------------------------------------------ public switchToIframe ( $id ) switchToMainFrame() 공개 메소드 public switchToMainFrame ( ) switchToWindow() 공개 메소드 public switchToWindow ( $name ) type() 공개 메소드 type text into an input field public type ( string $text ) : SingleElementAction $text string the text to type 리턴 DataSift\Storyplayer\BrowserLib\SingleElementAction waitForOverlay() 공개 메소드 public waitForOverlay ( $timeout, $id ) waitForTitle() 공개 메소드 public waitForTitle ( $timeout, $title, $failedTitle = null ) waitForTitles() 공개 메소드 public waitForTitles ( $timeout, $titles ) 상위 함수들 | 상위 클래스들 | 문서 | 개인정보 보호정책 | Advertise with us PHP | C# (CSharp) | Java | Golang | C++ (Cpp) | Python | JavaScript | TypeScript EN | RU | DE | FR | ES | PT | IT | JP | ZH | KO