context.close

View as Markdown

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

1await runtime.browserContext.close();

HTTP Example

1{
2 "runtime": "crm",
3 "steps": [
4 {
5 "call": "context.close"
6 }
7 ]
8}