Skip to content

Feature Request: Add Method to Manually Close/Kill a Session #146

Open
@AleefBilal

Description

@AleefBilal

Currently, there is no available method to explicitly kill or close a session after a desired operation has been completed using the Browserbase SDK or API that is designed for Playwright.

While it is possible to set an timeout as a workaround, it is not an optimal solution. This approach lacks precision and does not offer the control that a direct method (e.g., session.close() or session.terminate()) would provide.

Why this is important:

  • Allows developers to gracefully end sessions immediately after their task is done.
  • Helps manage session usage and API costs more effectively.
  • Reduces unnecessary wait times or reliance on time-based workarounds.

Request: Please consider adding a dedicated method to manually close or kill sessions programmatically.

Thanks!

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