Selenium Questions

Some Selenium Interview Questions based out of my experience.

Selenium Overview

1. Which is the only browser in which Selenium IDE can be used ?
A)Safari B)Firefox C)GoogleChrome D)Internet Explorer

Answer: Firefox

2. Selenium supports which kinds of applications?
A) Web Based applications B)Stand alone applications C)Both D)None of the above

Answer: Web Based Applications

3. Find the type of text pattern used in Selenium
A) Chronological Sequence B) Globbing C) Simulation D)None of the above

Answer: Globbing

Will be updated with more questions then and there. Keep visiting

Selenium RC

1. Which of the following command is a “Onevent Handler”
A) focus() B) assertAlert() C) fireEvent() D) alert()

Answer: fireEvent()

2. Selenium server is developed in
A)Perl B) Java C) Python D).Net

Answer: Java

Will be updated with more questions then and there. Keep visiting

Selenium WebDriver

1. Which Driver implementation will allow headless mode
A) FireFoxDriver() B) HtmlUnitDriver() C)SafariDriver D) ChromeDriver

Answer : HTMLUnitDriver
Will be updated with more questions then and there. Keep visiting

Selenium GRID

7 thoughts on “Selenium Questions

  1. Amazing blog! Do you have any recommendations for aspiring writers? I’m planning to start my own blog soon but I’m a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused .. Any suggestions? Thanks a lot!

    • Well, even I was in same situation few months back. Then owning this blog now. Just start with the free version of and after you have enough articles you can purchase domain and publicize to all.

      You can even purchase domain and host it from their server, GoDaddy is pretty low and nice.

      Email me at for more.

  2. Excellent blog for selenium beginners like me. Do you have any post which talks about how to identify between using id, xpath and css while automating a website 🙂

  3. i am totally new to automation testing…i have read about selenium IDE.
    It says the selenium IDE is used for recording and playback.My question is how this recording and playing back benefit other than keeping the record of the user action on browser.

  4. @rits Selenium IDE can also be used for locating the elements. For ex: If you find an element location using tools like firebug or firepath the element location can be verified using Selenium IDE before taking the path into the automation script. And also selenium IDE can be used to change the format of the commands and extract the script in any of the scripting languages like JUnit, Ruby, etc

Leave a Comment