- Install python, pip and google chrome
google chrome:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
python:sudo apt install python3.8
pip:sudo apt-get -y install python3-pip
- Install Selenium python library, in case of a server install
pyvirtualdisplay
python library andxvfb
toopip3 install selenium
pyvirtualdisplay
andxvfb
(optional)sudo apt install -y xvfb
(optional)pip3 install pyvirtualdisplay
(optional)
- Get your chrome driver of your version here: https://sites.google.com/chromium.org/driver/downloads?authuser=0 and save it as
chromedriver
in the./drivers
folder - Run the script
python3 seleniumFrogs.py