Bug 275030

Summary: [WPE][WebDriver] Support automation of touch events in the new WPE Platform API
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=275031
Bug Depends on:    
Bug Blocks: 265646    

Description Lauro Moura 2024-06-02 10:28:13 PDT
https://w3c.github.io/webdriver/#pointer-input-source
https://w3c.github.io/webdriver/#pointer-actions

Basically, pointer actions with type "touch", to be implemented initially by overriding `WebAutomationSession::platformSimulateTouchInteraction`.

Currently, only iOS implements it, using `_WKTouchEventGenerator.mm` for more advanced handling like spreading the events over the duration interval in the WebDriver request.

PS: There is bug238811, but it's for the legacy libwpe API.
Comment 1 Lauro Moura 2024-06-03 01:41:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29447
Comment 2 EWS 2024-06-03 04:52:37 PDT
Committed 279643@main (31331ed06981): <https://commits.webkit.org/279643@main>

Reviewed commits have been landed. Closing PR #29447 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-06-03 04:53:14 PDT
<rdar://problem/129158286>