Alpine Linux, Selenium Manager, Chrome and ChromeDriver

1 · Ryan Bigg · Aug. 22, 2023, 10:34 p.m.
Summary
Selenium, and by extension the selenium-webdriver gem, after version 4.11 come with a new feature called Selenium Manager. This CLI tool will automatically install whatever browser and driver you need to run your Selenium tests. (These are installed under ~/.cache/selenium...) Today, I tried setting this up in an Alpine linux based Docker image and ran into trouble where it claimed it could not find the executable. I was seeing errors such as: /bin/sh: ./chromedriver-linux64/chromedriver: not fo...