Skip to content

Commit

Permalink
Merge pull request #84 from ppasupat/fix-typo-raw-key
Browse files Browse the repository at this point in the history
Fixed typo in selenium_actions.py
  • Loading branch information
pseudo-rnd-thoughts authored Aug 24, 2023
2 parents 553daee + 04b00ee commit 2acfe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniwob/selenium_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def execute_press_key(key: str, driver: ChromeDriver):
raw_key = key
modifiers = []
while raw_key[:2] in WEBDRIVER_MODIFIER_KEYS:
modifiers.append(WEBDRIVER_MODIFIER_KEYS[key[:2]])
modifiers.append(WEBDRIVER_MODIFIER_KEYS[raw_key[:2]])
raw_key = raw_key[2:]
if raw_key in WEBDRIVER_SPECIAL_KEYS:
raw_key = WEBDRIVER_SPECIAL_KEYS[raw_key]
Expand Down

0 comments on commit 2acfe72

Please sign in to comment.