Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
isValidCapabilityAndValue ( $capabilityType, $value ) |
public __construct ( String $browser = null, String $version = null, String $platform = null ) | ||
$browser | String | |
$version | String | |
$platform | String |
public getCapabilities ( ) : Array | ||
return | Array |
public getCapability ( String $capabilityType ) : String | ||
$capabilityType | String | |
return | String |
public getIsJavaScriptEnabled ( ) : String | ||
return | String |
public setCapability ( String $capabilityType, String $value ) | ||
$capabilityType | String | |
$value | String |