Map sending keys to active element for W3C compatibility by mykola-mokhnach · Pull Request #966 · appium/java-client

Conversation

@mykola-mokhnach

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)

SrinivasanTarget

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?

@mykola-mokhnach

UIA2 and Espresso do have it.

XCUITest driver does not, since XCTest itself does not support generation of arbitrary key events (yet).

2 participants

@mykola-mokhnach @SrinivasanTarget