Bug 232997

Summary: loss on focus after release-action
Product: WebKit Reporter: sebastian.klaar
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Intel)   
OS: macOS 11   

Description sebastian.klaar 2021-11-11 06:43:16 PST
We're using webdriverio to execute automated tests on Safari.

This w3c command causes lost of element focus:

[DELETE/session/{session id}/actions]
Command „releaseAction“
"DELETE": {
"command": "releaseActions",
"description": "The Release Actions command is used to release all the keys and pointer buttons that are currently depressed. This causes events to be fired as if the state was released by an explicit series of actions. It also clears all the internal state of the virtual devices.",
"ref": "https://w3c.github.io/webdriver/#dfn-release-actions",
"parameters": []
}
},

after element was hovered-on:

performActions([{
type: 'pointer',
id: 'pointer1',
parameters: { pointerType: 'mouse' },
actions: [{ type: 'pointerMove', duration: 0, x: newXOffset, y: newYOffset }]
}])
Comment 1 sebastian.klaar 2021-11-11 06:43:32 PST
reference: https://feedbackassistant.apple.com/feedback/9381562
Comment 2 Sam Sneddon [:gsnedders] 2021-11-15 04:26:24 PST
rdar://80956973