heroku-playwright-buildpack icon indicating copy to clipboard operation
heroku-playwright-buildpack copied to clipboard

Chromium only build missing dependencies

Open aspectum opened this issue 4 years ago • 1 comments

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.

aspectum avatar Apr 14 '21 17:04 aspectum

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.

s0-david avatar Jun 23 '21 19:06 s0-david