You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make object-valued user prompt handler defaults always override
Previously an object value for the unhandledPromptBehavior capability
like:
{
"default": "dismiss"
}
was equivalent to the string value
"dismiss"
which for legacy reasons does not affect "beforeUnload" prompts.
For WebDriver-BiDi session we'd ideally like to remove this special
case and have the default value apply to all prompt types.
Therefore this changes things so that an object value with a default
key provides a default that applies to all prompt types, whereas the
traditional string values only apply to alert/confirm/prompt dialogs.
This preserves classic semantics for string-only values, but makes the
object values behave in a more uniform way.
0 commit comments