Bug 218563

Summary: REGRESSION (Safari 14): WebKit returns error: "not implemented" for w3c-ActionChains using pointerType: "touch" using safaridriver
Product: WebKit Reporter: bugzilla
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: Other   

Description bugzilla 2020-11-04 06:16:11 PST
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

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

in Safari 14.

In Safari 13 it gives the expected 

{
    "value": null
}

and the action is executed.
Comment 1 Radar WebKit Bug Importer 2020-11-04 11:05:37 PST
<rdar://problem/71043715>
Comment 2 BJ Burg 2020-11-04 11:18:35 PST
This has been fixed recently. Please verify in Safari Technology Preview 115+.

*** This bug has been marked as a duplicate of bug 216937 ***