Skip to content

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

chore: follow up to align the tsdoc

Pavel04e17470386b
diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts
index bbebc7dfda..f8a1dd584e 100644
--- a/packages/playwright-core/types/types.d.ts
+++ b/packages/playwright-core/types/types.d.ts
@@ -8442,7 +8442,7 @@ export interface BrowserContext {
pages(): Array<Page>;
/**
- * Removes cookies from context. The method will throw an error if either name, domain or path has not been passed.
+ * Removes cookies from context. At least one of the removal criteria should be provided.
*
* **Usage**
*