Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing is not keyboard layout-agnostic #41

Closed
tristanlabelle opened this issue Jul 31, 2023 · 2 comments
Closed

Typing is not keyboard layout-agnostic #41

tristanlabelle opened this issue Jul 31, 2023 · 2 comments

Comments

@tristanlabelle
Copy link
Contributor

WebDriver only has a means to send key events, not character events. I use an exotic keyboard layout and the typed text becomes all garbled because of this.

image

Upstream issues:

Possible workaround:

Send alt+unicode decimal code point sequences for each character to be typed. That should be keyboard layout agnostic.

@tristanlabelle
Copy link
Contributor Author

Addressed by #85, which changed the API shape to make it harder to do the wrong thing (sending text as the keys request value) and provided one way to do the right thing (using alt escape codes to get the correct characters).

@tristanlabelle
Copy link
Contributor Author

Unfortunately the workaround isn't good enough. See follow-up bug: #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant