Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: Python Disposable has close() and no dispose() (#43407)

Pavel Feldman5c42a39d3bcd
diff --git a/docs/src/api/class-disposable.md b/docs/src/api/class-disposable.md
index 52ab182ed7..061c801966 100644
--- a/docs/src/api/class-disposable.md
+++ b/docs/src/api/class-disposable.md
@@ -9,10 +9,12 @@
* since: v1.59
* langs: python
-Same as [`method: Disposable.dispose`].
+Removes the associated resource. For example, removes the init script installed via
+[`method: Page.addInitScript`] or [`method: BrowserContext.addInitScript`].
## async method: Disposable.dispose
* since: v1.59
+* langs: js
Removes the associated resource. For example, removes the init script installed via
[`method: Page.addInitScript`] or [`method: BrowserContext.addInitScript`].