interface WebDriverCapabilities (View source)

Methods

string
getBrowserName()

No description

mixed
getCapability(string $name)

No description

string
getPlatform()

No description

string
getVersion()

No description

bool
is(string $capability_name)

No description

bool
isJavascriptEnabled() deprecated

No description

Details

string getBrowserName()

No description

Return Value

string

The name of the browser.

mixed getCapability(string $name)

No description

Parameters

string $name

Return Value

mixed

The value of a capability.

string getPlatform()

No description

Return Value

string

The name of the platform.

string getVersion()

No description

Return Value

string

The version of the browser.

bool is(string $capability_name)

No description

Parameters

string $capability_name

Return Value

bool

Whether the value is not null and not false.

bool isJavascriptEnabled() deprecated

deprecated All browsers are always JS enabled except HtmlUnit and it's not meaningful to disable JS execution.

No description

Remove in next major release (BC)

Return Value

bool

Whether javascript is enabled.