Created
April 26, 2022 11:43
-
-
Save gusflopes/57f5d6abadb2415b6b153a976b2112ff 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
## Working with Google Chrome | |
### Path to Google Chrome on Windows | |
cd Program\ Files\ \(x86\) \Google\Chrome\Application\chrome.exe | |
### Using Google Chrome inside WSL 2 (need testing) | |
```bash | |
#install packages | |
sudo apt-get install -y curl unzip xvfb libxi6 libgconf-2-4 fonts-liberation | |
#get latest chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
#install it | |
sudo apt install ./google-chrome-stable_current_amd64.deb | |
#test a screenshot | |
google-chrome --headless --disable-gpu --screenshot https://www.chromestatus.com/ | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment