Selenium Interview Questions

Practice for Selenium interviews by solving TestDome questions. Our interview questions are used by more than 6,000 companies and 450,000 individual test takers.

Jobseekers: Certify Your Knowledge

Take a Certification Test

Companies: Use Our Tests for Screening

Buy a Pack Of Candidates

Try to solve 2 Selenium interview questions below. Hints can help you find answers to questions you are having trouble with.

1. Selenium Installation

WebDriver
   
Easy 

After a development team has made a web application using a programming language, your task is to make browser-based regression tests using the same programming language and Selenium. Select only the steps needed to setup Selenium on a new machine which only has an OS and the run-time for the targeted programming language:

(Select all acceptable answers.)

Download Selenium libraries for the targeted programming language.
Install a HTTP server.
Install a browser for which there is a WebDriver.
Install Selenium plugins for a browser.
Download WebDriver binaries for a browser.
Download Selenium IDE.
   


2. Click On A Link

WebDriver
   
Easy 

Using Selenium, select the best practice for simulating the following user scenario:

  • Go to https://www.testdome.com
  • Click on the following HTML element: <a href="/tour">Tour</a>

Commands need to cover the whole interaction, from opening a web browser to closing it.

(Select all acceptable answers.)

Create a system process based on the path to the Chrome web browser.
Instantiate Chrome WebDriver.
Provide https://www.testdome.com as the first argument when running the Chrome process.
On WebDriver, call functions for getting or navigating to https://www.testdome.com
Using WebDriver, get the document instance, and create MouseEvent on it.
On WebDriver, call functions for finding the “Tour” element by link text.
Find X and Y coordinates of an element with the “Tour” link text.
Call the click function on the found element.
Fire MouseEvent on X and Y coordinates.
Call the function for closing the window on WebDriver.
Close the process containing the Chrome instance.
   


If you feel ready, take one of our timed public Selenium Interview Questions tests:
Web Testing

Web Testing and Selenium Test (Easy)

Not exactly what you are looking for? Go to our For Jobseekers section.