Error using selenium with chromedriver on raspberry Pi 3 - Raspbian Jessie Error using selenium with chromedriver on raspberry Pi 3 - Raspbian Jessie linux linux

Error using selenium with chromedriver on raspberry Pi 3 - Raspbian Jessie


Not sure if this will help you, but I set up my selenium environment on my Ubuntu machines (raspberry pi should be similar enough) using this helper script. Install setupdriver.sh

echo "removing chromium-browser"sudo apt-get purge chromium-browserrm ~/.config/chromium/ -rfecho "removing chrome"sudo apt-get purge google-chrome-stablerm ~/.config/google-chrome/ -rfsudo apt-get install libxss1 libappindicator1 libindicator7wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debsudo dpkg -i google-chrome*.debecho "installing Chrome"echo "getting libxi6"sudo apt-get install libxi6 libgconf-2-4echo "getting chromedriver2.27"wget -N https://chromedriver.storage.googleapis.com/2.27/chromedriver_linux64.zipecho "unzipping chromedriver2.27"unzip chromedriver_linux64.zipecho "exe chromedriver"chmod +x chromedriverecho "removing /usr/local/share/chromedriver"sudo rm -rf /usr/local/share/chromedriverecho "removing /usr/local/bin/chromedriver"sudo rm -rf /usr/local/bin/chromedriverecho "removing /usr/bin/chromedriver"sudo rm -rf /usr/bin/chromedriverecho "moving chromedriver to local/share"sudo mv -f chromedriver /usr/local/share/chromedriverecho "linking to bin"sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriverecho "linking to local bin"sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

so try copying that code into a shell file. chmod +x the file, then sh filename.sh or you can copy type each step directly into terminal.


Based on this post, the command to install chromedriver is the follwing:

sudo apt-get install chromium-chromedriver

and you will have 74.0.3729.157 version of ChromeDriver available in the system.