Bug 275030 - [WPE][WebDriver] Support automation of touch events in the new WPE Platform API
Summary: [WPE][WebDriver] Support automation of touch events in the new WPE Platform API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Lauro Moura
URL:
Keywords: InRadar
Depends on:
Blocks: 265646
  Show dependency treegraph
 
Reported: 2024-06-02 10:28 PDT by Lauro Moura
Modified: 2024-06-03 04:53 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>