.. install_chrome: 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: .. code:: sudo apt install wget | 2. Download Chrome Package -------------------------- Use wget to download the latest Google Chrome package for Debian Linux system and its derivatives: .. code:: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb Install Google Chrome Browser .. code:: 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.d`` with the content: .. code:: **### 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: .. code:: sudo apt install chromium Install chromium-driver .. code:: sudo apt install chromium-driver