Install Chrome¶
Install chrome and chromium-driver, for the usage of selenium tests with headless browser.
1. Install wget¶
Install wget if not already done:
sudo apt install wget
2. Download Chrome Package¶
Use wget to download the latest Google Chrome package for Debian Linux system and its derivatives:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debInstall Google Chrome Browser
sudo apt install ./google-chrome-stable_current_amd64.deb
3. Repository list “google-chrome.list”¶
Does the repository list “google-chrome.list” exist in
/etc/apt/sources.list.dwith the content:**### THIS FILE IS AUTOMATICALLY CONFIGURED ###** **# You may comment out this entry, but any other modifications may be lost.** deb **[arch=amd64]** **https://dl.google.com/linux/chrome/deb/** **stable main**If not, create the repository list.
4. Install Chromium and Chromium-Driver¶
If yes install chromium:
sudo apt install chromiumInstall chromium-driver
sudo apt install chromium-driver