Bug 218563 - REGRESSION (Safari 14): WebKit returns error: "not implemented" for w3c-ActionChains using pointerType: "touch" using safaridriver
Summary: REGRESSION (Safari 14): WebKit returns error: "not implemented" for w3c-Actio...
Status: RESOLVED DUPLICATE of bug 216937
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-04 06:16 PST by bugzilla
Modified: 2020-11-04 11:18 PST (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 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 ***