class RemoteKeyboard implements WebDriverKeyboard (View source)

Execute keyboard commands for RemoteWebDriver.

Methods

__construct(RemoteExecuteMethod $executor, WebDriver $driver, bool $isW3cCompliant = false)

No description

$this
sendKeys(string $keys)

Send keys to active element

$this
pressKey(string $key)

Press a modifier key

$this
releaseKey(string $key)

Release a modifier key

Details

__construct(RemoteExecuteMethod $executor, WebDriver $driver, bool $isW3cCompliant = false)

No description

Parameters

RemoteExecuteMethod $executor
WebDriver $driver
bool $isW3cCompliant

$this sendKeys(string $keys)

Send keys to active element

Parameters

string $keys

Return Value

$this

$this pressKey(string $key)

Press a modifier key

Parameters

string $key

Return Value

$this

See also

WebDriverKeys

$this releaseKey(string $key)

Release a modifier key

Parameters

string $key

Return Value

$this

See also

WebDriverKeys