This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Pass options to browser context #2383
Labels
feature
Issues that represent new features or improvements to existing features.
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
The text was updated successfully, but these errors were encountered: