Skip to content
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

Chromium only build missing dependencies #12

Open
aspectum opened this issue Apr 14, 2021 · 1 comment
Open

Chromium only build missing dependencies #12

aspectum opened this issue Apr 14, 2021 · 1 comment

Comments

@aspectum
Copy link

I'm quite sure the Chromium only build is missing dependencies. I know for a fact libx11-xcb1 is one of them, as I ran playwright with DEBUG=pw:browser and saw it missing (also confirmed by someone else here). I added it to the section with the dependencies for both Chromium and Firefox and the error was gone, but still playwright wouldn't work. After struggling with this for a couple of days I just gave up and removed the PLAYWRIGHT_BUILDPACK_BROWSERS env variable and now everything works.
The strange thing is that in another part of my code, where I scrape a single page, things seem to work regardless. The problematic section is when I scrape several pages (in the same browser and same context). But now everything is fine.

@s0-david
Copy link

Wow.. thank you so much @aspectum for the comment. Removing the PLAYWRIGHT_BUILDPACK_BROWSERS env variable really did solve my issue as well. I hope to use the variable when this issue gets fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants