You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: