top button

Define Browser drivers for automation testing using selenium web driver?

+3 votes
posted Jan 29 by Himaja

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

3 Answers

0 votes

Hi Himaja,
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well.

Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
If you want to

create robust, browser-based regression automation suites and tests
scale and distribute scripts across many environments

Then you want to use Selenium WebDriver; a collection of language specific bindings to drive a browser -- the way it is meant to be driven.

Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated. The Selenium Server (used by both WebDriver and Remote Control) now also includes built-in grid capabilities.

answer Jan 30 by Arun
0 votes

As an automation tester we need to different drivers like chromedriver.exe, geckodriver for firefox etc to invoke a browser through our selenium script.

String exePath = "Path of chromedriver.exe";
System.setProperty("", exePath);
WebDriver driver = new ChromeDriver();
// WebDriver driver = new ChromeDriver();

answer Jan 30 by Mohd Adnan
0 votes

The Browser drivers are servers that implement the WebDriver's wire protocol,and known how to convert those commands into the specific browser's proprietary native API.Selenium WebDriver makes direct calls to the browser by taking help of Servlet.

answer Jan 30 by Bedarupa Ray