Install Chrome Driver and Firefox Driver on Ubuntu

Source: Internet
Author: User

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

Link:

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

Next, on the console (terminal), manipulate the instructions for the red font:

    • 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

Install Chrome Driver and Firefox Driver on Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.