Skip to main content

deleteCookies

Delete cookies visible to the current page. By providing a cookie name it just removes the single cookie or more when multiple names are passed.

Usage
browser.deleteCookies(filter)
Parameters
NameTypeDetails
filterArray[StorageCookieFilter]Use the filter property to identify and delete specific cookies based on matching criteria.
Examples
example.js
loading...
example.js
loading...

Welcome! How can I help?

WebdriverIO AI Copilot