PHP 클래스 Nearsoft\SeleniumClient\Options

파일 보기 프로젝트 열기: nearsoft/php-selenium-client

공개 메소드들

메소드 설명
__construct ( WebDriver $driver )
addCookie ( String $name, String $value, String $path = null, String $domain = null, boolean $secure = null, integer $expiry = null ) Sets cookie
deleteAllCookies ( ) Removes all current cookies
deleteCookie ( Cookie $cookie ) Remove a cookie
deleteCookieNamed ( String $cookieName ) Remove a cookie
getCookieNamed ( $cookieName ) : Array Gets a cookie by name
getCookies ( ) : Array Gets current cookies
setWindow ( $window ) Sets Window
timeouts ( ) : Nearsoft\SeleniumClient\Timeouts Gets Timeouts object
window ( ) : Nearsoft\SeleniumClient\Window Gets Window object

메소드 상세

__construct() 공개 메소드

public __construct ( WebDriver $driver )
$driver WebDriver

addCookie() 공개 메소드

Sets cookie
public addCookie ( String $name, String $value, String $path = null, String $domain = null, boolean $secure = null, integer $expiry = null )
$name String
$value String
$path String
$domain String
$secure boolean
$expiry integer

deleteAllCookies() 공개 메소드

Removes all current cookies
public deleteAllCookies ( )

deleteCookie() 공개 메소드

Remove a cookie
public deleteCookie ( Cookie $cookie )
$cookie Cookie

deleteCookieNamed() 공개 메소드

Remove a cookie
public deleteCookieNamed ( String $cookieName )
$cookieName String

getCookieNamed() 공개 메소드

Gets a cookie by name
public getCookieNamed ( $cookieName ) : Array
리턴 Array

getCookies() 공개 메소드

Gets current cookies
public getCookies ( ) : Array
리턴 Array

setWindow() 공개 메소드

Sets Window
public setWindow ( $window )
$window

timeouts() 공개 메소드

Gets Timeouts object
public timeouts ( ) : Nearsoft\SeleniumClient\Timeouts
리턴 Nearsoft\SeleniumClient\Timeouts

window() 공개 메소드

Gets Window object
public window ( ) : Nearsoft\SeleniumClient\Window
리턴 Nearsoft\SeleniumClient\Window