*** title: context.off description: Remove a local browser-context event listener. ----------------------------------------------------------- `context.off` is a browser runtime capability in the `context` namespace. ## Availability * Runtime: `browser` * Kind: `event` * Category: `events` * Supported drivers: Playwright ## SDK Surface * SDK path: `runtime.browserContext.off` * Async: No ## HTTP Surface * Transport: resource route * Route: `GET /workspaces/{id}/runtimes/{alias}/events` * Long-running: No ## Reference Semantics * Requires refs: `context` ## Arguments | Argument | Type | Required | Description | | ----------- | ---------- | -------- | ----------------------------------------- | | `eventName` | `string` | Yes | Context event name to remove. | | `listener` | `function` | Yes | Previously registered local SDK listener. | ## Result * Type: `void` * Description: Removes a local browser-context event listener. ## SDK Example ```ts runtime.browserContext.off('console', (event) => { console.log(event); }); ``` ## HTTP Example ```http GET /workspaces/{id}/runtimes/{alias}/events ``` ## Related Capabilities * [`context.on`](../events/context-on) * [`context.once`](../events/context-once)