close_browser_session
Closes a browser session permanently, removing all its tabs, cookies, storage, console/network logs, and saved CPU profiles so resources do not linger. Use it for reliable cleanup when the task is done.
Instructions
Close a browser session for good: closes all its tabs, discards its cookies and storage, and deletes its console and network logs and saved .cpuprofile files. Call it when the task is done so the session doesn't sit open until the reaper closes it. Use close_tab instead to close one tab and keep the session, and save_browser_state first if the login should outlive the session. Idempotent: closing an unknown or already-closed session succeeds, so it is safe in cleanup code. Returns a confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The id returned by open_browser_session. An unknown or already-closed id succeeds without error. |