Skip to main content

clearCookie

API

interface I {
clearCookie(cookieNames?: string | string[]): Promise<void>
}

Example

import { test } from '@pw-codeceptjs/test'

test('Example', async ({ I }) => {
await I.amOnPage('https://playwright.dev')
await I.clearCookie()
})