RemoteKeyboard
in package
implements
WebDriverKeyboard
Execute keyboard commands for RemoteWebDriver.
Table of Contents
Interfaces
Properties
- $driver : WebDriver
- $executor : RemoteExecuteMethod
- $isW3cCompliant : bool
Methods
- __construct() : mixed
- pressKey() : $this
- Press a modifier key
- releaseKey() : $this
- Release a modifier key
- sendKeys() : $this
- Send keys to active element
Properties
$driver
private
WebDriver
$driver
$executor
private
RemoteExecuteMethod
$executor
$isW3cCompliant
private
bool
$isW3cCompliant
Methods
__construct()
public
__construct(RemoteExecuteMethod $executor, WebDriver $driver[, bool $isW3cCompliant = false ]) : mixed
Parameters
- $executor : RemoteExecuteMethod
- $driver : WebDriver
- $isW3cCompliant : bool = false
pressKey()
Press a modifier key
public
pressKey(string $key) : $this
Parameters
- $key : string
Tags
Return values
$thisreleaseKey()
Release a modifier key
public
releaseKey(string $key) : $this
Parameters
- $key : string
Tags
Return values
$thissendKeys()
Send keys to active element
public
sendKeys(string|array<string|int, mixed> $keys) : $this
Parameters
- $keys : string|array<string|int, mixed>