What Is Selenium?
Selenium is an open-source browser automation framework that uses the WebDriver protocol to control browsers programmatically, enabling automated testing of web applications across multiple browsers and programming languages.
Free to start · 7-day trial on paid plans
In Depth
Selenium has been the standard browser automation tool since 2004. It consists of several components: WebDriver (the core API for controlling browsers), Selenium Grid (for running tests in parallel across machines), and Selenium IDE (a record-and-playback tool).
Selenium communicates with browsers through the W3C WebDriver protocol via browser-specific drivers (ChromeDriver, GeckoDriver, etc.). This protocol-based approach gives Selenium the widest browser and language support of any automation framework: Java, Python, C#, Ruby, JavaScript, and Kotlin.
In 2026, Selenium remains widely used in enterprise environments with existing test suites, Java-based organizations, and teams that need Ruby or Kotlin support. However, for new projects, Playwright has overtaken Selenium due to its auto-waiting, faster execution, and superior debugging tools.
Key Selenium concepts to know: explicit waits (WebDriverWait with expected conditions), the page object model for maintainability, Selenium Grid for parallel execution, and Selenium Manager for automatic driver management.
Why Interviewers Ask About This
Selenium remains one of the most asked-about frameworks in QA interviews, especially at enterprise companies. Even if you prefer Playwright, demonstrating Selenium knowledge shows breadth and the ability to work with legacy codebases.
Example Scenario
A financial services company has 2,000 Selenium tests in Java that run nightly on Selenium Grid. The suite covers regulatory compliance flows that rarely change. The team maintains the suite while building new tests in Playwright, running both frameworks in the same CI pipeline.
Interview Tip
Show you know both Selenium and modern alternatives. Discuss Selenium's strengths (language breadth, enterprise adoption) and limitations (no auto-waiting, driver management complexity). If asked to compare, be fair to both.
Related Terms
Explore related glossary terms to deepen your understanding.
Related Resources
Dive deeper with these related interview prep pages.
Ready to Ace Your QA Interview?
Practice explaining selenium and other key concepts with our AI interviewer.
Join 1,200+ QA engineers already practicing with AssertHired.
Start Your Free QA InterviewFree to start · 7-day trial on paid plans