PHP 클래스 Nearsoft\SeleniumClient\Alert

파일 보기 프로젝트 열기: nearsoft/php-selenium-client 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( WebDriver $driver )
accept ( ) Accepts the alert.
dismiss ( ) Dismisses the alert.
getText ( ) : String Gets the text of the alert.
sendKeys ( String $string ) Sends keys to the alert.

메소드 상세

__construct() 공개 메소드

public __construct ( WebDriver $driver )
$driver WebDriver

accept() 공개 메소드

Accepts the alert.
public accept ( )

dismiss() 공개 메소드

Dismisses the alert.
public dismiss ( )

getText() 공개 메소드

Gets the text of the alert.
public getText ( ) : String
리턴 String

sendKeys() 공개 메소드

Sends keys to the alert.
public sendKeys ( String $string )
$string String