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
While implementing the user prompt handler changes for WebDriver BiDi for the beforeunload user prompt in Firefox I noticed that Firefox and Chrome return both the default value for unhandledPromptBehavior when the capability has not been specified for the New Session command. Safari has a different handling here and doesn't return it.
This question most likely also applies to other capabilities like setWindowRect and others. Some capabilities we use for matching and others not. So maybe we should only do that for those that are utilized for capability matching?
If we agree that we should return the default value, the proposal for a fix could look like 6294a95.