w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
679 stars 194 forks source link

Add a means to consume user activation #1691

Closed marcoscaceres closed 1 year ago

marcoscaceres commented 1 year ago

Problem: A lot of APIs rely on "transient activation" to work, and there are special failure cases that need to be checked by "consuming the user activation" at particular moments in time. To get around this right now, WPT (for instance) is using hacks trying to requestFullscreen() and then cancelling the request (which is not standardized to actually consume the user activation, making the situation worse).

It would be great if Web Driver provided a means to artificially "consume user activation", thus invalidating the transient activation.

Related discussion: https://github.com/web-platform-tests/wpt/issues/36481

marcoscaceres commented 1 year ago

Moved to https://github.com/whatwg/html/issues/8608