Skip to content

Allow file prompt type #1884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10481,7 +10481,7 @@ <h3>User Prompt Handler</h3>

<p>The <dfn>valid prompt types</dfn> are «"<code>alert</code>",
"<code>beforeUnload</code>", "<code>confirm</code>",
"<code>default</code>", "<code>prompt</code>"».
"<code>default</code>", "<code>file</code>", "<code>prompt</code>"».

<p class="note">The "<code>default</code>" type represents a fallback
when no specific handler is defined for a given prompt type, including
Expand All @@ -10497,6 +10497,9 @@ <h3>User Prompt Handler</h3>
other protocols isn&apos;t expected to change the user prompt handling as a
side effect.

<p class="note">The "<code>file</code>" prompt type is respected only in
[[WebDriver-BiDi]] sessions.

<p>To <dfn>deserialize as an unhandled prompt behavior</dfn> given
argument <var>value</var>:

Expand Down
Loading