[Webkit-unassigned] [Bug 218232] New: [iOS 14][iPhone] safaridriver returning 501 "not implemented" on w3c-Action pointer-type "touch" and "mouse"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 27 07:35:22 PDT 2020


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

            Bug ID: 218232
           Summary: [iOS 14][iPhone] safaridriver returning 501 "not
                    implemented" on w3c-Action pointer-type "touch" and
                    "mouse"
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bugzilla at nonvoid.de
                CC: bburg at apple.com

Hi there, 

We implemented our own ActionChain that works in Safari 13. In Safari 14 it's not working anymore.

we use a POST-Request to the safaridriver binary (we tested technology preview and the standard one) to the session url "session/{{sessionId}}/actions" with JSON

{
    "actions": [
        {
            "type": "pointer",
            "id": "touch",
            "parameters": {
                "pointerType": "touch"
            },
            "actions": [
                {
                    "type": "pointerMove",
                    "duration": 0,
                    "origin": "viewport",
                    "x": 10,
                    "y": 20
                },
                {
                    "type": "pointerDown",
                    "button": 0
                },
                {
                    "type": "pointerUp",
                    "button": 0
                }
            ]
        }
    ]
}

this request returns a 501-error:

{
    "value": {
        "error": "not implemented",
        "message": "",
        "stacktrace": ""
    }
}

in Safari 14.

In Safari 13 the action performs and the request succeeds with the return

{
    "value": null
}

I think that this bug came with Safari 109 because it's the only one that does something with WebDriver.

-- 
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/20201027/e92942ba/attachment.htm>


More information about the webkit-unassigned mailing list