puppeteer/website/versioned_docs/version-22.8.1/guides/cookies.md

5 lines
263 B
Markdown
Raw Normal View History

# Cookies
Puppeteer allows modifying cookies for a page ahead of time by using [Page.setCookie()](https://pptr.dev/api/puppeteer.page.setcookie/).
You can also read the cookies set for a page using [Page.cookies()](https://pptr.dev/api/puppeteer.page.cookies/).