You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
While trying to send the modifier key Keys.COMMAND to the browser via the ActionBuilder,
I get the following exception:
java.lang.IllegalArgumentException: Key Down / Up events only make sense for modifier
keys.
at org.openqa.selenium.interactions.internal.SingleKeyAction.<init>(SingleKeyAction.java:46)
at org.openqa.selenium.interactions.KeyDownAction.<init>(KeyDownAction.java:32)
at org.openqa.selenium.interactions.Actions.keyDown(Actions.java:98)
at org.openqa.selenium.interactions.Actions.keyDown(Actions.java:85)
at
This is incorrect because COMMAND is routinely used as a modifier on Mac.
Repro:
Action modifierkey = builder
.keyDown(Keys.COMMAND)
.build();
modifierkey.perform();
Reported by kevin.t.dillon on 2012-01-20 22:25:44
The text was updated successfully, but these errors were encountered:
I had the same problem with META, which is basically the same key as COMMAND. A patch
for the META key can be found attached to http://code.google.com/p/selenium/issues/detail?id=4540
and can easily be extended to cover Keys.COMMAND.
Reported by jonatan@vaadin.com on 2012-09-12 08:16:10
Originally reported on Google Code with ID 3244
Reported by
kevin.t.dillon
on 2012-01-20 22:25:44The text was updated successfully, but these errors were encountered: