Skip to content

Should the "New Session" command return default values for capabilities that have not specified? #1813

Open
@whimboo

Description

@whimboo

Follow-up from #1812.

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.

CC @jgraham, @OrKoN, @sadym-chromium, @gsnedders, @AutomatedTester, @shs96c, @jimevans.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions