Skip to content

Instantly share code, notes, and snippets.

@aarkerio
Created January 8, 2025 19:08
Show Gist options
  • Save aarkerio/a1ffb5bc0d1e969b12590ca5c3e10c90 to your computer and use it in GitHub Desktop.
Save aarkerio/a1ffb5bc0d1e969b12590ca5c3e10c90 to your computer and use it in GitHub Desktop.
Install matching chrome and chromedriver
1) Check your current chrome version:
$ google-chrome --version
Google Chrome 131.0.6778.264
2) Download the chromedriver for your version:
$ npx @puppeteer/browsers install [email protected]
3) Create the soft link:
$ sudo ln -s /home/xpsman/chromedriver/linux-131.0.6778.264/chromedriver-linux64/chromedriver /usr/bin/chromedriver
$ chromedriver -v
Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment