Ubuntu install chrome driver

First download the Chrome Driver (the installation of the Firefox Driver is the same as this step)

Link:

http://chromedriver.storage.googleapis.com/index.html

Next, operate the command in red font on the console (terminal):

  • Install Unzip

sudo apt-get install unzip

  • Assuming you’re running a 64-bit OS, download the latest version of chromedriver from their website

wget -N http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip -P ~/Downloads

unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads

  • Make the file you downloaded executable, and move it to /usr/local/share

chmod +x ~/Downloads/chromedriver

sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver

  • Also, create symlinks to the chromedriver. Cucumber would look for the drivers in /usr/bin/chromedriver

sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver

sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

First download the Chrome Driver (the installation of the Firefox Driver is the same as this step)

Link:

http://chromedriver.storage.googleapis.com/index.html

Next, operate the command in red font on the console (terminal):

  • Install Unzip

sudo apt-get install unzip

  • Assuming you’re running a 64-bit OS, download the latest version of chromedriver from their website

wget -N http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip -P ~/Downloads

unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads

  • Make the file you downloaded executable, and move it to /usr/local/share

chmod +x ~/Downloads/chromedriver

sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver

  • Also, create symlinks to the chromedriver. Cucumber would look for the drivers in /usr/bin/chromedriver

sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver

sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324928228&siteId=291194637