WebDriverCapabilities
in
Table of Contents
Methods
- getBrowserName() : string
- getCapability() : mixed
- getPlatform() : string
- getVersion() : string
- is() : bool
- isJavascriptEnabled() : bool
Methods
getBrowserName()
public
getBrowserName() : string
Return values
string —The name of the browser.
getCapability()
public
getCapability(string $name) : mixed
Parameters
- $name : string
Return values
mixed —The value of a capability.
getPlatform()
public
getPlatform() : string
Return values
string —The name of the platform.
getVersion()
public
getVersion() : string
Return values
string —The version of the browser.
is()
public
is(string $capability_name) : bool
Parameters
- $capability_name : string
Return values
bool —Whether the value is not null and not false.
isJavascriptEnabled()
public
isJavascriptEnabled() : bool
Tags
Return values
bool —Whether javascript is enabled.