How to simulate keyboard navigation?
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to test focus states, which are only triggered via keyboard navigation. Is there a way to simulate a tab or arrow keypress?
Tried seeing if submitting a keycode instead of a string would work; it doesn't.
`{
"selector": ".testing-div",
"keypress": 9 // JS keycode
}`
Contributor guide
Assessment
This issue has not been assessed yet.