Bug 215588

Summary: [WebDriver][WPE] Translate keyboard events received
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 216899    

Description Lauro Moura 2020-08-17 15:23:41 PDT
Tests affected:

* imported/selenium/py/test/selenium/webdriver/common/interactions_tests.py::testSendingKeysToActiveElementWithModifier

This test sends the keys 'a', 'b', and 'c' with the <shift> modifier to an input tag, checking if 'ABC' is produced.

GTK's WebAutomationSession synthesizes the events translating the keys, sending e.g. the keycode 'A', mimicking the events received by the MiniBrowser (translated outside webkit) and works fine.

WPE's WebAutomationSession keyboard events are not translated, sending the lowercase letters as the keycode.