Implement keyDown event #620
isakemanuel
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
When you pass a Session and not an element, I think this is what should be happening? Old selenium protocol docs |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a Phoenix project I am working on, we have keyboard shortcuts, many of which are available outside of input fields and some globally in the app (F1/? to bring up help). With Wallaby, it seems
send_keys
can only be used while in an input field, but this means most of the keyboard shortcuts cannot be tested (some of them are not supposed to be accessible from within an input, to avoid clashing with regular typing).In ChromeDriver and Selenium there is a keyDown event, which does let me test the keyboard shortcuts properly. With that event, you can use any element (e.g. the body tag).
I think it would be useful to be able to send this event with Wallaby.
Beta Was this translation helpful? Give feedback.
All reactions