From c27903e773c1b980ee76969983de600a3fc5f0eb Mon Sep 17 00:00:00 2001
From: Marcos Caceres For the purposes of user-agent automation and application testing, this specification defines
+ the following extension command for the Web Driver specification. It is
+ optional for a user agent to support the following extension command. The remote end steps are:
+
+ Let window be current
+ browsing context's active window. Let consume be true if window has transient activation
+ or false otherwise. If consume is true, consume user activation of
+ window. Return success with data consume.User agent automation
+
+
+
+
+
+
+
+ HTTP Method
+ URI Template
+
+ ` POST`
+ /session/{session id}/window/consume-user-activation
+
+
Activation behavior of elements
@@ -132900,7 +132932,7 @@ INSERT INTERFACES HERE
| HTTP Method - | URI Template + | HTTP Method | +URI Template | +
|---|---|---|---|
`POST`
- | /session/{session id}/window/consume-user-activation
+ | `POST` |
+ /session/{session id}/window/consume-user-activation |
+
The remote end steps are: +
The remote end steps are:
Let window be current browsing context's active window.
Let consume be true if window has transient activation - or false otherwise.
Let consume be true if window has transient activation; + otherwise false.
If consume is true, consume user activation of +
If consume is true, then consume user activation of window.
Return success with data consume.
Certain elements in HTML have an activation behavior, which means that the user