HumHub Documentation (unofficial)

RemoteKeyboard
in package
implements WebDriverKeyboard

Execute keyboard commands for RemoteWebDriver.

Table of Contents

Interfaces

WebDriverKeyboard

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

Methods

pressKey()

Press a modifier key

public pressKey(string $key) : $this
Parameters
$key : string
Tags
see
WebDriverKeys
Return values
$this

releaseKey()

Release a modifier key

public releaseKey(string $key) : $this
Parameters
$key : string
Tags
see
WebDriverKeys
Return values
$this

sendKeys()

Send keys to active element

public sendKeys(string|array<string|int, mixed> $keys) : $this
Parameters
$keys : string|array<string|int, mixed>
Return values
$this

        
On this page

Search results