\RemoteKeyboard

Execute keyboard commands for RemoteWebDriver.

Summary

Methods
Properties
Constants
__construct()
sendKeys()
pressKey()
releaseKey()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$executor
N/A

Properties

Methods

__construct()

__construct(\RemoteExecuteMethod  $executor) 

Parameters

\RemoteExecuteMethod $executor

sendKeys()

sendKeys(string|array  $keys) : $this

Send keys to active element

Parameters

string|array $keys

Returns

$this

pressKey()

pressKey(string  $key) : $this

Press a modifier key

Parameters

string $key

Returns

$this

releaseKey()

releaseKey(string  $key) : $this

Release a modifier key

Parameters

string $key

Returns

$this