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; /** - * 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** *