Метод | Описание | |
---|---|---|
__construct ( String $browser = null, String $version = null, String $platform = null ) | Create DesiredCapabilities | |
__toString ( ) | ||
getBrowserName ( ) : String | Gets browser name | |
getCapabilities ( ) : Array | Gets current capabilities | |
getCapability ( String $capabilityType ) : String | Gets specified capability | |
getIsJavaScriptEnabled ( ) : String | Gets whether javascript is enabled | |
getPlatform ( ) : String | Gets platform name | |
getVersion ( ) : String | Gets version | |
setCapability ( String $capabilityType, String $value ) | Sets specified capability |
Метод | Описание | |
---|---|---|
isValidCapabilityAndValue ( $capabilityType, $value ) |
public __construct ( String $browser = null, String $version = null, String $platform = null ) | ||
$browser | String | |
$version | String | |
$platform | String |
public getBrowserName ( ) : String | ||
Результат | String |
public getCapabilities ( ) : Array | ||
Результат | Array |
public getCapability ( String $capabilityType ) : String | ||
$capabilityType | String | |
Результат | String |
public getIsJavaScriptEnabled ( ) : String | ||
Результат | String |
public setCapability ( String $capabilityType, String $value ) | ||
$capabilityType | String | |
$value | String |