-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
feat: Add mobile command to type Unicode text #365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does this differ from sendkeys?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this set unicode text into the focused field, not like setValue? (The setValue with unicode keyboard capability is kindly relace the field)
@jlipps The main difference is that sendKeys always overrides the existing field text. For example, if one needs to enter There is also key actions W3C API, but it only supports ASCII chars and fails for Unicode (see the issue appium/appium#13154). So, the only way to achieve the desired input scenario would be the current endpoint. |
@KazuCocoa Yes, I did it deliberately, because this endpoint does not care about the actual focus. It just triggers the appropriate key codes and sends them to the system thus emulating actual user interactions. |
No description provided.