Created
October 16, 2023 17:44
-
-
Save jnbdz/40ac0ca8b7d5aad0f0e6b68aab06f9d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: https://github.com/puppeteer/puppeteer/issues/1837 | |
nothing, but this works for me | |
https://scottspence.com/2021/01/05/use-chrome-in-ubuntu-wsl/ | |
https://github.com/puppeteer/puppeteer/issues/1700#issuecomment-369807464 | |
Hi! Here is how I got it running under WSL: | |
install chromium browser through apt-get | |
$ sudo apt-get install chromium-browser | |
then: | |
const browser = await puppeteer.launch({executablePath:'/usr/bin/chromium-browser'}); | |
https://scottspence.com/posts/use-chrome-in-ubuntu-wsl | |
sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt -y install ./google-chrome-stable_current_amd64.deb | |
google-chrome --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment