Skip to content

Commit 976a078

Browse files
committed
Add numpad key mappings to Selenium WebDriver Keys
according to the standard https://w3c.github.io/webdriver/#keyboard-actions
1 parent 38bf77a commit 976a078

File tree

1 file changed

+7
-0
lines changed
  • rb/lib/selenium/webdriver/common

1 file changed

+7
-0
lines changed

rb/lib/selenium/webdriver/common/keys.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ module Keys
7575
subtract: "\ue027",
7676
decimal: "\ue028",
7777
divide: "\ue029",
78+
numpad_multiply: "\ue024",
79+
numpad_add: "\ue025",
80+
numpad_comma: "\ue026",
81+
numpad_subtract: "\ue027",
82+
numpad_decimal: "\ue028",
83+
numpad_divide: "\ue029",
84+
numpad_enter: "\ue007",
7885
f1: "\ue031",
7986
f2: "\ue032",
8087
f3: "\ue033",

0 commit comments

Comments
 (0)