diff --git a/source b/source index e770453bb40..b1d522b120a 100644 --- a/source +++ b/source @@ -4341,6 +4341,23 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute + +
The following terms are defined in WebDriver:
+ ++ For the purposes of user-agent automation and application testing, this document defines the + following extension commands for the Web + Driver specification. It is optional for a user agent to support + the following extension commands. +
+ +HTTP Method + | URI Template + | Command + |
---|---|---|
POST + | /session/{session id}/window/consume-user-activation + | Consume user activation of Window + |
The remote end steps are: + +
If the top-level browsing context has been removed, return error with error code no such window. + +
Handle any user prompts and return its value if it is an error. + +
Let window be top-level 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. +