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

Phaneendra N
Phaneendra N
1,218 Points

Selenium web driver Vs Chrome driver?

Hi, I understand Chrome driver is specific to Chrome. Whats the fundamental jobs of each of these 'drivers'. Mainly the difference

Do we need both of them to be installed. Are both language specific?

Cheers! Phaneendra

1 Answer

The shortest answer is: You need both, if you want to test using Chrome.

WebDriver is the Selenium library of code containing the FindBys and Clicks and SendKeys code. ChromeDriver is a library of code that controls the Chrome Browser.

In order to create your test scripts, you need WebDriver. In order to control the Chrome Browser, you need ChromeDriver.

Phaneendra N
Phaneendra N
1,218 Points

Hi Clinton, Crisp and clear answer :)