Map sending keys to active element for W3C compatibility by mykola-mokhnach · Pull Request #966 · appium/java-client
Conversation
Change list
Map sendKeysToActiveElement to W3C actions. Previously calling keyboard.sendKeys would throw an exception, since W3C standard does not declare sendKeysToActiveElement endpoint.
Types of changes
- No changes in production code.
- Bugfix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Does UIA2 or XCUI or Espresso Driver has this endpoint?
UIA2 and Espresso do have it.
XCUITest driver does not, since XCTest itself does not support generation of arbitrary key events (yet).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters