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
I was looking for a way to send the right and left arrow keys to the browser, I kept reading the code and eventually found that set_keys/1 accepts any of the key codes defined at here and the following lines
Maybe the documentation of set_keys/1 should link to the source code with the definitions of key_codes/1
Any developer is able to read that and there would be no need to keep the documentation of set_keys/1 in sync with the code.
The text was updated successfully, but these errors were encountered:
The documentation starting at
hound/lib/hound/helpers/page.ex
Line 229 in e10c872
set_keys/1
I was looking for a way to send the right and left arrow keys to the browser, I kept reading the code and eventually found that
set_keys/1
accepts any of the key codes defined at here and the following lineshound/lib/hound/internal_helpers.ex
Line 27 in 7cfa0f8
Luckily the arrow keys are among them.
Maybe the documentation of
set_keys/1
should link to the source code with the definitions ofkey_codes/1
Any developer is able to read that and there would be no need to keep the documentation of
set_keys/1
in sync with the code.The text was updated successfully, but these errors were encountered: