Selenium Python Install Chrome Debian Desktop

Selenium Python Install Chrome on Debian Desktop

#wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –
#echo “deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main” | sudo tee /etc/apt/sources.list.d/google.list
#sudo apt-get -y update
#sudo apt-get -y install google-chrome-stable
#google-chrome –version
Google Chrome 94.0.4606.81

Test the chrome browser by open it on Debian Desktop

Next step Install ChromeDriver, it must be same version with above google-chrome –version (94.0.4606.81)
Visit https://sites.google.com/a/chromium.org/chromedriver/downloads or https://sites.google.com/corp/chromium.org/driver/
Download the same version with above google-chrome –version (94.0.4606.81)

#wget https://chromedriver.storage.googleapis.com/94.0.4606.41/chromedriver_linux64.zip
#unzip chromedriver_linux64.zip
#rm ~/chromedriver_linux64.zip
#rm -rf /usr/local/bin/chromedriver
#mv -f ~/chromedriver /usr/local/bin/chromedriver
#chown root:root /usr/local/bin/chromedriver
#chmod 0755 /usr/local/bin/chromedriver

Leave a Reply

Your email address will not be published. Required fields are marked *