From ea93d3ad9ce439cb2fbb20620b25990a332828a1 Mon Sep 17 00:00:00 2001 From: Maksim Sadym Date: Mon, 24 Feb 2025 11:54:14 +0100 Subject: [PATCH 1/3] Allow `fileUpload` prompt type --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1338cdc4..152690c9 100644 --- a/index.html +++ b/index.html @@ -10481,7 +10481,7 @@

User Prompt Handler

The valid prompt types are «"alert", "beforeUnload", "confirm", -"default", "prompt"». +"default", "fileUpload", "prompt"».

The "default" type represents a fallback when no specific handler is defined for a given prompt type, including @@ -10497,6 +10497,9 @@

User Prompt Handler

other protocols isn't expected to change the user prompt handling as a side effect. +

The "fileUpload" prompt type is respected only in +[[WebDriver-BiDi]] sessions. +

To deserialize as an unhandled prompt behavior given argument value: From b29627fda1afcc8a403aad310d79ba51721a5dbf Mon Sep 17 00:00:00 2001 From: Maksim Sadym Date: Mon, 24 Feb 2025 13:17:55 +0100 Subject: [PATCH 2/3] Rename to `fileDialog` --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 152690c9..577b6bc6 100644 --- a/index.html +++ b/index.html @@ -10481,7 +10481,7 @@

User Prompt Handler

The valid prompt types are «"alert", "beforeUnload", "confirm", -"default", "fileUpload", "prompt"». +"default", "fileDialog", "prompt"».

The "default" type represents a fallback when no specific handler is defined for a given prompt type, including @@ -10497,7 +10497,7 @@

User Prompt Handler

other protocols isn't expected to change the user prompt handling as a side effect. -

The "fileUpload" prompt type is respected only in +

The "fileDialog" prompt type is respected only in [[WebDriver-BiDi]] sessions.

To deserialize as an unhandled prompt behavior given From 2b36293f4c8066351cad6d1964c8bb96d84dd467 Mon Sep 17 00:00:00 2001 From: Maksim Sadym Date: Tue, 25 Feb 2025 12:55:13 +0100 Subject: [PATCH 3/3] Rename to `file` --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 577b6bc6..3236abb3 100644 --- a/index.html +++ b/index.html @@ -10481,7 +10481,7 @@

User Prompt Handler

The valid prompt types are «"alert", "beforeUnload", "confirm", -"default", "fileDialog", "prompt"». +"default", "file", "prompt"».

The "default" type represents a fallback when no specific handler is defined for a given prompt type, including @@ -10497,7 +10497,7 @@

User Prompt Handler

other protocols isn't expected to change the user prompt handling as a side effect. -

The "fileDialog" prompt type is respected only in +

The "file" prompt type is respected only in [[WebDriver-BiDi]] sessions.

To deserialize as an unhandled prompt behavior given