Bug 220074

Summary: [iOS] add a way to simulate mouse interactions for LayoutTests
Product: WebKit Reporter: Devin Rousso <hi>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, jbedard, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=220072

Devin Rousso
Reported 2020-12-21 15:23:43 PST
something similar to `UIController.prototype.singleTapAtPointWithModifiers` or maybe something on `EventSender
Attachments
Radar WebKit Bug Importer
Comment 1 2020-12-28 15:24:15 PST
Tim Horton
Comment 2 2020-12-28 16:45:05 PST
(In an ideal world, we’d just make eventSender mouseDown/up/etc. work on iOS, I think.)
Wenson Hsieh
Comment 3 2020-12-28 16:48:00 PST
(In reply to Tim Horton from comment #2) > (In an ideal world, we’d just make eventSender mouseDown/up/etc. work on > iOS, I think.) This has the advantage of allowing us to make existing tests work, but I think in the longer term, UIScriptController offers more flexibility due to its non-blocking nature. I think what we could do to get the best of both worlds is implement async helpers on UIScriptController, and then implement the synchronous EventSender functionality for iOS on top of the async version.
Note You need to log in before you can comment on or make changes to this bug.