Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion javascript/webdriver/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,15 @@ webdriver.Key = {
F12: '\uE03C',

COMMAND: '\uE03D', // Apple command key
META: '\uE03D' // alias for Windows key
META: '\uE03D', // alias for Windows key

// Extended macOS/ChromeDriver keys
RIGHT_SHIFT: '\uE050',
RIGHT_CONTROL: '\uE051',
RIGHT_ALT: '\uE052',
RIGHT_COMMAND: '\uE053',

// Symbolic macOS keys
OPTIONS: '\uE052', // TODO: verify Unicode value with WebDriver spec
FUNCTION: '\uE051' // TODO: symbolic only; confirm or remove in future
};