Skip to content

Is "close window" expected to wait for the window to be closed? #1852

Open
@gsnedders

Description

@gsnedders

https://w3c.github.io/webdriver/#close-window calls HTML's https://html.spec.whatwg.org/#close-a-browsing-context, but as far as I'm aware that doesn't synchronously close the window. I think in most implementations by the point that it returns it always will have closed the window, but the spec doesn't seem to guarantee this?

(Note that for HTTP-only sessions before unload is never fired, thus I believe it should always eventually succeed.)

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