GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Playwright
  • Docs
  • MCP
  • CLI
  • API
  • Node.js
  • Python
  • Java
  • .NET
  • API reference
  • Classes
  • APIRequestContext
  • APIResponse
  • Browser

This view

  • Original page
  • New address

GeezerVison is showing playwright.dev — Disposable | Playwright

Disposable is returned from various methods to allow undoing the corresponding action. For example, page.addInitScript() returns a Disposable that can be used to remove the init script.


Methods​

dispose​

Added in: v1.59 disposable.dispose

Removes the associated resource. For example, removes the init script installed via page.addInitScript() or browserContext.addInitScript().

Usage

await disposable.dispose();

Returns

  • Promise<void>#
  • Methods
    • dispose
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.