Apify Discord Mirror

Updated 5 months ago

chromium issue in apify/actor-node-playwright-chrome:22

At a glance

The community member pulled the latest revision of the actor-node-playwright-chrome:22 docker image, but encountered an error related to Playwright not being able to find the Chrome executable. The error message suggests running npx playwright install to download the necessary browsers. The comments indicate that the issue may be related to the Playwright looking in the wrong directory for the Chromium version, and that the community member was also using Chromium separately for authentication purposes.

Hi folks, I pulled the latest revision of the actor-node-playwright-chrome:22 docker image but when i tried to run the project I got the "install browsers" playwright error

Plain Text
azure:service-bus:receiver:warning [connection-1|streaming:discovery-8ffea0b6-f055-c04e-88ae-f31f039f2c24] Abandoning the message with id '656b7051a08b4b759087c40d0ecef687' on the receiver 'discovery-8ffea0b6-f055-c04e-88ae-f31f039f2c24' since an error occured: browserType.launch: Executable doesn't exist at /home/myuser/pw-browsers/chromium-1129/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
β•‘ Looks like Playwright Test or Playwright was just installed or updated. β•‘
β•‘ Please run the following command to download new browsers:              β•‘
β•‘                                                                         β•‘
β•‘     npx playwright install                                              β•‘
β•‘                                                                         β•‘
β•‘ <3 Playwright Team                                                      β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

I thought all the browser install was pre-handled in the image?
C
A
3 comments
it seems playwright is looking in the wrong directory. under pw-browsers there isnt a chromium-1129 dir but there is a chromium-1134 dir
nvm, it wasnt a crawlee bug. i was using chromium seperately as well for auth.
@Crafty just advanced to level 3! Thanks for your contributions! πŸŽ‰
Add a reply
Sign up and join the conversation on Discord