[Webkit-unassigned] [Bug 262109] New: Web Automation: Dispatched mouse events always have `buttons` property set to zero

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 26 04:58:11 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=262109

            Bug ID: 262109
           Summary: Web Automation: Dispatched mouse events always have
                    `buttons` property set to zero
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: a_protyasha at apple.com
                CC: bburg at apple.com

The `buttons` property on mouse events dispatched by WebAutomationSession is always zero, and does not correctly reflect what mouse button is pressed. I suspect the fix involves swizzling the `+[NSEvent pressedMouseButtons]` like in WKTR/DRT.

This will get us to fully pass the pointerevents/pointerevent_attributes_hoverable_pointers.html?mouse WPT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230926/586dc4e8/attachment-0001.htm>


More information about the webkit-unassigned mailing list