NeoNomade
NeoNomade2y ago

extract cookies in playwright

Hello, In puppeteer in order to extract cookies I was doing :
cookiesStore = await page.cookies(page.url());
cookiesStore = await page.cookies(page.url());
how can I achieve the same thing in Playwright ? Can't find anything in docs
1 Reply
Alexey Udovydchenko
await browserContext.cookies([urls])

Did you find this page helpful?