Skip to content

Commit 7baaedb

Browse files
add note about bypassDisabledScripting
1 parent 2319af5 commit 7baaedb

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
@@ -117163,6 +117163,12 @@ document.querySelector("button").addEventListener("click", bound);
117163117163
<span>URL</span>-or-null <var>sourceURLForWindowScripts</var> (default null) and an optional
117164117164
boolean <var>bypassDisabledScripting</var> (default false):</p>
117165117165

117166+
<p class="note">The <var>bypassDisabledScripting</var> parameter is intended to be used for
117167+
running scripts even if <span data-x="concept-environment-noscript">scripting is disabled</span>.
117168+
This is required for some automation scenarios, e.g. for WebDriver BiDi command <a
117169+
href="https://w3c.github.io/webdriver-bidi/#commands-scriptevaluate">"script.evaluate"</a>.
117170+
</p>
117171+
117166117172
<ol>
117167117173
<li>
117168117174
<p>If <var>mutedErrors</var> is true, then set <var>baseURL</var> to

0 commit comments

Comments
 (0)