Skip to content

[WebDriver BiDi] Add tests for session.end #63255

Open

Description

@sergedeh

The WPT WebDriver BiDi client supports session.end, but webdriver/tests/bidi/session/ currently has no conformance coverage for the command.

The WebDriver BiDi specification requires session.end to:

  1. end the current session;
  2. return an empty success result;
  3. send the response before beginning session cleanup; and
  4. clean up the ended session, including closing all of its WebSocket connections.

Tests should cover:

  • returning an empty success result and subsequently closing the command's
    WebSocket connection;
  • closing every WebSocket connection associated with the ended session, not
    only the connection that sent session.end; and
  • ensuring asynchronous cleanup of the ended session cannot close or otherwise
    invalidate a replacement session created after the success response.

Specification:
https://w3c.github.io/webdriver-bidi/#command-session-end

Activity

  1. added 2 commits that reference this issue on Oct 19, 2026
    ff738e0
    5e42190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions