Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Quality Assurance Introduction to Selenium Test Drive Selenium Installation

2 Errors: ChromeDriver could not be found and for driver.get(url) driver is not defined.

From my terminal: node

const selenium = require("selenium-webdriver"); undefined const driver = new selenium.Builder().forBrowser("chrome").build(); Error: The ChromeDriver could not be found on the current PATH. Please download the latest version of the ChromeDriver from http://ch romedriver.storage.googleapis.com/index.html and ensure it can be found on your PATH. at new ServiceBuilder (C:\SandraJones\selenium-basics\node_modules\selenium-webdriver\chrome.js:232:13) at getDefaultService (C:\SandraJones\selenium-basics\node_modules\selenium-webdriver\chrome.js:321:22) at Function.createSession (C:\SandraJones\selenium-basics\node_modules\selenium-webdriver\chrome.js:695:44) at createDriver (C:\SandraJones\selenium-basics\node_modules\selenium-webdriver\index.js:155:33) at Builder.build (C:\SandraJones\selenium-basics\node_modules\selenium-webdriver\index.js:662:16) const url = "http://port-80-jffwcj05c9.treehouse-app.com/"; undefined driver.get(url); ReferenceError: driver is not defined

I downloaded latest stable release on this page, https://sites.google.com/a/chromium.org/chromedriver/, and then attempted to driver.get(url) and still get driver is not defined.