Skip to main content

dontSeeCookies

API

interface I {
dontSeeCookies(cookies: string[]): Promise<void>
}

Example

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

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