Skip to content

Commit

Permalink
Adding the step to handle user prompts for screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnjansen authored and AutomatedTester committed Sep 19, 2019
1 parent 29c5f74 commit 3216584
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.html
Expand Up @@ -8936,6 +8936,8 @@ <h3><dfn>Take Screenshot</dfn></h3>
<li><p>If the <a>current top-level browsing context</a> is <a>no longer open</a>,
return <a>error</a> with <a>error code</a> <a>no such window</a>.

<li><p><a>Handle any user prompts</a> and return its value if it is an <a>error</a>.

<li><p>When the user agent is next to <a>run the animation frame callbacks</a>:
<ol>
<li><p>Let <var>root rect</var> be the <a>current top-level browsing context</a>’s
Expand Down Expand Up @@ -8989,7 +8991,9 @@ <h3><dfn>Take Element Screenshot</dfn></h3>

<li><p>If the <a>current browsing context</a> is <a>no longer open</a>,
return <a>error</a> with <a>error code</a> <a>no such window</a>.


<li><p><a>Handle any user prompts</a> and return its value if it is an <a>error</a>.

<li><p>Let <var>element</var> be the result of
<a>trying</a> to <a>get a known connected element</a>
with <a>url variable</a> <var>element id</var>.
Expand Down

0 comments on commit 3216584

Please sign in to comment.