Selenium Multiple-Choice Questions (MCQs)
Q. What is Selenium?
An open-source tool for automating web browsersA programming language for web development
A database management system
A web server
Q. Which of the following is NOT a component of Selenium?
Selenium CatalystSelenium WebDriver
Selenium IDE
Selenium Grid
Q. What is Selenium WebDriver?
An API to write functional testsA record and playback tool
A tool for running parallel tests
A browser plugin
Q. Which programming languages does Selenium WebDriver support?
Java, Python, C#, Ruby, JavaScriptOnly Java
Only Python
Only C#
Q. What is Selenium IDE?
A record and playback toolA tool for writing test scripts
A tool for running tests in parallel
A database for storing test results
Q. What is the purpose of Selenium Grid?
To run tests in parallel across different machines and browsersTo write test scripts
To record user actions
To manage test data
Q. Which of the following is NOT a supported browser in Selenium?
Internet Explorer 5Chrome
Firefox
Safari
Q. What is a WebElement in Selenium?
An interface representing an HTML elementA type of web browser
A Selenium component
A testing framework
Q. Which method is used to enter text into a text box in Selenium WebDriver?
sendKeys()setText()
type()
input()
Q. What is the purpose of the click() method in Selenium?
To perform a click action on an elementTo double click an element
To right click an element
To hover over an element