Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.