PHP 클래스 Prose\UsingBrowser

저자: 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
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