Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
In this video we will cover the two part of installing Selenium WebDriver; Installing the WebDriver binding for your desired language and installing the browser driver for your operating system.
IMPORTANT UPDATE
The Node selenium-webdriver
has gone to a new alpha version that changes the API.
To follow along with this course make sure you install selenium-webdriver like this:
npm install selenium-webdriver@3
Fixing Permissions Errors
If you get a permissions (EACCESS
) error when running npm install
, re-running the command with sudo
will get it working. But you should only do this with trusted packages! If a package contains malicious code, running it with sudo
could allow an attacker to take over your system.
Instead, consider installing Node using a version manager, which will allow you to install packages globally without using sudo
. You can read more about this solution here.
Installation Instructions
Learn More
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Nikita Novikov
5,929 Points0 Answers
-
Erick Luna
21,077 PointsI'm getting this message while using the build pattern "The ChromeDriver could not be found on the current PATH"
Posted by Erick LunaErick Luna
21,077 Points3 Answers
-
PLUS
Richard Preske
Courses Plus Student 4,356 Points1 Answer
-
PLUS
Richard Preske
Courses Plus Student 4,356 Points0 Answers
-
Shaquilla Johnson
1,301 Points2 Answers
-
Kosta Kuts
15,894 Points1 Answer
-
Jon Hash
Full Stack JavaScript Techdegree Student 79 Points0 Answers
-
Sandy Jones
7,854 Points0 Answers
-
Bolat Dyussebayev
475 Points0 Answers
-
Henry Brenton
10,144 Points1 Answer
-
Festus Ifiti jr
9,652 Points4 Answers
-
Joshua Thao
6,439 PointsAre we suppose to be using chrome web browser? I get this error driver.get(url); ReferenceError: driver is not defined
Posted by Joshua ThaoJoshua Thao
6,439 Points0 Answers
-
parth patel
1,862 Points2 Answers
-
brandon lowe
999 Points1 Answer
-
S Campos
413 Points1 Answer
-
Logan R
22,989 Points5 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up