*** title: context.close description: Close the current browser context. ----------------------------------------------- `context.close` is a browser runtime capability in the `context` namespace. ## Availability * Runtime: `browser` * Kind: `raw` * Category: `lifecycle` * Supported drivers: Playwright ## SDK Surface * SDK path: `runtime.browserContext.close` * Async: Yes ## HTTP Surface * Transport: `workspace.execute(...)` * Call: `context.close` * Long-running: No ## Reference Semantics * Requires refs: `context` ## Arguments This capability does not take explicit arguments. ## Result * Type: `void` * Description: Closes the browser context. ## SDK Example ```ts await runtime.browserContext.close(); ``` ## HTTP Example ```json { "runtime": "crm", "steps": [ { "call": "context.close" } ] } ``` ## Related Capabilities * [`context.newPage`](../navigation/context-new-page) * [`runtime.stop`](../lifecycle/runtime-stop)