๐งช Selenium Automation Quiz
Enter your nickname (optional):
1. What is Selenium WebDriver primarily used for?
Unit testing
Automating web browsers
Database testing
2. Which language is NOT officially supported by Selenium WebDriver?
Java
Python
PHP
3. What method is used to find an element by its ID?
findElementByClass()
findElement(By.id("..."))
getElementById()
4. Which browser is NOT directly supported by Selenium WebDriver?
Chrome
Safari
Opera Mini
5. What is the purpose of WebDriverWait?
To pause the test for a fixed time
To wait until a condition is met
To delay the browser launch
6. Which command is used to switch to an alert?
driver.switchTo().frame()
driver.switchTo().alert()
driver.handleAlert()
7. What does driver.quit() do?
Closes the current tab
Closes all browser windows and ends the session
Minimizes the browser
8. Which locator strategy is the most brittle?
By.id
By.name
By.xpath
9. What is Page Object Model (POM)?
A design pattern for organizing test code
A browser plugin
A Selenium command
10. What is the default timeout for implicit wait in Selenium?
0 seconds
30 seconds
10 seconds
โ Submit Quiz
๐ Restart Quiz
๐ Hall of Fame