Bug 232997 - loss on focus after release-action
Summary: loss on focus after release-action
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: Safari 14
Hardware: Mac (Intel) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-11 06:43 PST by sebastian.klaar
Modified: 2021-11-15 04:26 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 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