HumHub Documentation (unofficial)

WebDriverKeys
in package

Representations of pressable keys that aren't text.

These are stored in the Unicode PUA (Private Use Area) code points.

Tags
see
https://w3c.github.io/webdriver/#keyboard-actions

Table of Contents

Constants

ADD  = ""
ALT  = ""
ARROW_DOWN  = ""
ARROW_LEFT  = ""
ARROW_RIGHT  = ""
ARROW_UP  = ""
BACKSPACE  = ""
CANCEL  = ""
CLEAR  = ""
COMMAND  = self::META
CONTROL  = ""
DECIMAL  = ""
DELETE  = ""
DIVIDE  = ""
DOWN  = self::ARROW_DOWN
END  = ""
ENTER  = ""
EQUALS  = ""
ESCAPE  = ""
F1  = ""
F10  = ""
F11  = ""
F12  = ""
F2  = ""
F3  = ""
F4  = ""
F5  = ""
F6  = ""
F7  = ""
F8  = ""
F9  = ""
HELP  = ""
HOME  = ""
INSERT  = ""
LEFT  = self::ARROW_LEFT
LEFT_ALT  = self::ALT
LEFT_CONTROL  = self::CONTROL
LEFT_SHIFT  = self::SHIFT
META  = ""
MULTIPLY  = ""
NULL  = ""
NUMPAD0  = ""
NUMPAD1  = ""
NUMPAD2  = ""
NUMPAD3  = ""
NUMPAD4  = ""
NUMPAD5  = ""
NUMPAD6  = ""
NUMPAD7  = ""
NUMPAD8  = ""
NUMPAD9  = ""
NUMPAD_ARROW_DELETE  = ""
NUMPAD_ARROW_DOWN  = ""
NUMPAD_ARROW_INSERT  = ""
NUMPAD_ARROW_LEFT  = ""
NUMPAD_ARROW_RIGHT  = ""
NUMPAD_ARROW_UP  = ""
NUMPAD_END  = ""
NUMPAD_HOME  = ""
NUMPAD_PAGE_DOWN  = ""
NUMPAD_PAGE_UP  = ""
PAGE_DOWN  = ""
PAGE_UP  = ""
PAUSE  = ""
RETURN_KEY  = ""
RIGHT  = self::ARROW_RIGHT
RIGHT_ALT  = ""
RIGHT_CONTROL  = ""
RIGHT_META  = ""
RIGHT_SHIFT  = ""
SEMICOLON  = ""
SEPARATOR  = ""
SHIFT  = ""
SPACE  = ""
SUBTRACT  = ""
TAB  = ""
UP  = self::ARROW_UP
ZENKAKU_HANKAKU  = "\xee\x80\xc0"

Methods

encode()  : array<string|int, mixed>|string
Encode input of `sendKeys()` to appropriate format according to protocol.

Constants

NUMPAD_ARROW_DELETE

public mixed NUMPAD_ARROW_DELETE = ""

NUMPAD_ARROW_INSERT

public mixed NUMPAD_ARROW_INSERT = ""

ZENKAKU_HANKAKU

public mixed ZENKAKU_HANKAKU = "\xee\x80\xc0"

Methods

encode()

Encode input of `sendKeys()` to appropriate format according to protocol.

public static encode(string|array<string|int, mixed>|int|float $keys[, bool $isW3cCompliant = false ]) : array<string|int, mixed>|string
Parameters
$keys : string|array<string|int, mixed>|int|float
$isW3cCompliant : bool = false
Return values
array<string|int, mixed>|string

        
On this page

Search results