#No such file or directory when using Selenium

1 messages · Page 1 of 1 (latest)

misty bear
#

I'm trying to use Selenium to scrape a site but it seems the actor can't locate chrome. Do I need to add chrome and chromedriver to the actor itself or is there a path to chrome within Apify? Thanks in advance.
2023-02-08T15:14:10.155Z FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/chrome'

lunar furnace
#

What base Docker image are you using? Try to create first actor with Puppeteer Crawler template, that will create Dockerfile with Chrome. Still not sure if it will be in the folder Selenium needs, I think the folder is in env vars