Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass options to browser context #2383

Closed
cybairfly opened this issue Mar 17, 2024 · 0 comments
Closed

Pass options to browser context #2383

cybairfly opened this issue Mar 17, 2024 · 0 comments
Labels
feature Issues that represent new features or improvements to existing features.

Comments

@cybairfly
Copy link
Contributor

cybairfly commented Mar 17, 2024

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

@cybairfly cybairfly added the feature Issues that represent new features or improvements to existing features. label Mar 17, 2024
@apify apify locked and limited conversation to collaborators Jun 11, 2024
@B4nan B4nan converted this issue into discussion #2529 Jun 11, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature Issues that represent new features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

1 participant