Skip to content

Commit

Permalink
Fixed typo in selenium_actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ppasupat authored Aug 24, 2023
1 parent 553daee commit 04b00ee
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 04b00ee

Please sign in to comment.