diff --git a/javascript/webdriver/key.js b/javascript/webdriver/key.js index 759609afecb94..acd0387bfc399 100644 --- a/javascript/webdriver/key.js +++ b/javascript/webdriver/key.js @@ -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 };