Skip to content

Commit 2b3b71e

Browse files
add note about bypassDisabledScripting
1 parent 5e1d90a commit 2b3b71e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117182,6 +117182,12 @@ document.querySelector("button").addEventListener("click", bound);
117182117182
<span>URL</span>-or-null <var>sourceURLForWindowScripts</var> (default null) and an optional
117183117183
boolean <var>bypassDisabledScripting</var> (default false):</p>
117184117184

117185+
<p class="note">The <var>bypassDisabledScripting</var> parameter is intended to be used for
117186+
running scripts even if <span data-x="concept-environment-noscript">scripting is disabled</span>.
117187+
This is required for some automation scenarios, e.g. for WebDriver BiDi command <a
117188+
href="https://w3c.github.io/webdriver-bidi/#commands-scriptevaluate">"script.evaluate"</a>.
117189+
</p>
117190+
117185117191
<ol>
117186117192
<li>
117187117193
<p>If <var>mutedErrors</var> is true, then set <var>baseURL</var> to

0 commit comments

Comments
 (0)