Skip to content
Merged
Changes from 5 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
10 changes: 10 additions & 0 deletions py/selenium/webdriver/common/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,13 @@ class Keys:
META = "\ue03d"
COMMAND = "\ue03d"
ZENKAKU_HANKAKU = "\ue040"

# Extended macOS/ChromeDriver keys (based on observed Chrome usage)
RIGHT_SHIFT = "\ue050"
RIGHT_CONTROL = "\ue051"
RIGHT_ALT = "\ue052"
RIGHT_COMMAND = "\ue053"

# Symbolic macOS keys not yet standardized
OPTIONS = "\ue050" # TODO: verify Unicode value with WebDriver spec
FUNCTION = "\ue051" # TODO: symbolic only; confirm or remove in future