crawlee
crawlee copied to clipboard
Pass options to browser context
Which package is the feature request for? If unsure which one to select, leave blank
@crawlee/playwright (PlaywrightCrawler)
Feature
Did not find any way to do this for all of these options - I need to pass options to browser context in a crawler: https://playwright.dev/docs/api/class-browser#browser-new-context
Motivation
Enable passing any of the context options which are available in PW but not accessible from within a crawler/browserPool it seems.
Ideal solution or implementation, and any additional constraints
preContextCreateHooks?
Need to pass the options for the whole context (incognito) and not just every single page (storageState)
Alternative solutions or implementations
No response
Other context
No response