1
SELENIUM WEBDRIVER INTERVIEW
QUESTIONS & ANSWERS
THIS STUDY GUIDE IS SPECIFIC TO ACTUAL 2025/26 EXAM
Q 1: What is Selenium?
Ans: Selenium is a suite of software tools to automate web browsers across many
platforms (Different Operation Systems like MS Windows, Linux Macintosh etc.).
It was launched in 2004, and it is open source Test Tool suite.
Q 2: What is Selenium 2.0?
Ans: Web testing tools Selenium RC and WebDriver are consolidated in single tool
in Selenium 2.0
Selenium 1.0 + WebDriver = Selenium 2.0
Q 3: What is Selenium WebDriver?
Ans: Selenium WebDriver is a tool for writing automated tests of websites. It is
an API name and aims to mimic the behavior of a real user, and as such interacts
with the HTML of the application. Selenium WebDriver is the successor of
Selenium Remote Control which has been officially deprecated.
Q 4: What is cost of WebDriver, is this commercial or open
source? Ans: Selenium is an open source and free of cost.
Q 5: How you specify browser configurations with Selenium
2.0? Ans: Following driver classes are used for browser
configuration AndroidDriver,
1
,2
ChromeDriver,
EventFiringWebDriver,
FirefoxDriver,
HtmlUnitDriver,
InternetExplorerDriver,
2
, 3
IPhoneDriver,
IPhoneSimulatorDriver,
RemoteWebDriver
Q 6: How is Selenium 2.0 configuration different than Selenium 1.0?
Ans: In case of Selenium 1.0 you need Selenium jar file pertaining to one library for
example in case of java you need java client driver and also Selenium server jar
file. While with Selenium
2.0 you need language binding (i.e. java, C# etc) and Selenium server jar if
you are using Remote Control or Remote WebDriver.
Q 7: Can you show me one code example of setting
Selenium 2.0? Ans: Below is example
WebDriver driver = new FirefoxDriver();
driver.get("https://www.google.co.in/");
driver.findElement(By.cssSelector("#gb_2 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_1 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_8 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_1 >
span.gbts")).click(); Q 8: Which web driver
3
SELENIUM WEBDRIVER INTERVIEW
QUESTIONS & ANSWERS
THIS STUDY GUIDE IS SPECIFIC TO ACTUAL 2025/26 EXAM
Q 1: What is Selenium?
Ans: Selenium is a suite of software tools to automate web browsers across many
platforms (Different Operation Systems like MS Windows, Linux Macintosh etc.).
It was launched in 2004, and it is open source Test Tool suite.
Q 2: What is Selenium 2.0?
Ans: Web testing tools Selenium RC and WebDriver are consolidated in single tool
in Selenium 2.0
Selenium 1.0 + WebDriver = Selenium 2.0
Q 3: What is Selenium WebDriver?
Ans: Selenium WebDriver is a tool for writing automated tests of websites. It is
an API name and aims to mimic the behavior of a real user, and as such interacts
with the HTML of the application. Selenium WebDriver is the successor of
Selenium Remote Control which has been officially deprecated.
Q 4: What is cost of WebDriver, is this commercial or open
source? Ans: Selenium is an open source and free of cost.
Q 5: How you specify browser configurations with Selenium
2.0? Ans: Following driver classes are used for browser
configuration AndroidDriver,
1
,2
ChromeDriver,
EventFiringWebDriver,
FirefoxDriver,
HtmlUnitDriver,
InternetExplorerDriver,
2
, 3
IPhoneDriver,
IPhoneSimulatorDriver,
RemoteWebDriver
Q 6: How is Selenium 2.0 configuration different than Selenium 1.0?
Ans: In case of Selenium 1.0 you need Selenium jar file pertaining to one library for
example in case of java you need java client driver and also Selenium server jar
file. While with Selenium
2.0 you need language binding (i.e. java, C# etc) and Selenium server jar if
you are using Remote Control or Remote WebDriver.
Q 7: Can you show me one code example of setting
Selenium 2.0? Ans: Below is example
WebDriver driver = new FirefoxDriver();
driver.get("https://www.google.co.in/");
driver.findElement(By.cssSelector("#gb_2 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_1 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_8 >
span.gbts")).click();
driver.findElement(By.cssSelector("#gb_1 >
span.gbts")).click(); Q 8: Which web driver
3