CA
robust-apricot
Is there any way to set cookies before pupeteer run?
Hi all! I'm just trying out crawlee, Is there any way to setup crawlee launch with cookies? I know there are
page.setCookie()
but its only avalibale in handler ~
Is there any way I can setup it in here? so I dont have to go through a default handler just to set a cookie?
1 Reply
genetic-orange•2y ago
hey, you can set it up in
preNavigationHooks
: https://crawlee.dev/api/playwright-crawler/interface/PlaywrightCrawlerOptions#preNavigationHooks