Short answer: choose Selenium for the browser and language you need
Use Selenium when an existing WebDriver framework, its language bindings or Safari automation meets a concrete requirement. For a new JavaScript or TypeScript suite wanting bundled testing tools, start with Playwright Test, which includes a runner, assertions, isolation and parallelization. Selenium's documentation lists official bindings for Java, Python, C#, Ruby, JavaScript and Kotlin. Those requirements give the choice a practical starting point: the browsers and language your team needs, followed by the framework it wants to maintain.
Our source install failed after 9 seconds with an ignored esbuild build script. That result belongs to the contributor checkout, whose README directs ordinary users to the user manual. An existing WebDriver suite is a reason to retain Selenium because its surrounding runner, fixtures and reports are already part of the team's workflow. A new suite presents a different decision: whether to choose those pieces separately or adopt a framework that supplies them together.
What people use selenium for
CredibleSoft reports using Selenium for browser-specific rendering checks, deployment smoke tests and parameterized forms. Its article describes work for insurance, retail, banking and food delivery clients, giving each account a concrete testing task. The following rows retain that attribution: these are CredibleSoft's accounts of customer work, including the reported outcomes. They illustrate browser interactions a team could evaluate against its own application rather than a ranking of testing tools.
| Job | Who used it | Reported outcome |
|---|---|---|
| Investigate browser-specific layout complaints | CredibleSoft, for an unnamed insurance technology client | CredibleSoft reports that parallel Grid checks exposed CSS rendering problems, followed by deployed fixes. |
| Check critical flows after a deployment | CredibleSoft, for an unnamed retail technology platform | CredibleSoft reports that smoke tests showed whether updates broke critical features within minutes. |
| Exercise loan application inputs | CredibleSoft, for an unnamed multinational bank | CredibleSoft reports that one parameterized script covered hundreds of loan application edge cases. |
| Check narrow layouts | CredibleSoft, for a food delivery platform | CredibleSoft reports that a responsive suite found layout issues at iPhone SE-sized viewports. |
Selenium's project blog explains why these tasks need a surrounding test framework: the project focuses on browser automation, while teams can choose a runner or a downstream framework. For a loan form, browser control enters the data and submits it; the test's assertions decide which response counts as correct. That division lets a team retain its established fixtures and reporting while changing the browser interactions being exercised.
What happened when we ran it
Our source-checkout install failed with exit 1 after 9 seconds on November 8, 2026, at commit b9fa6bb. The recorded container configuration was 3 CPUs, 8 GB RAM and image label lab-node:22. We measured 5,659 files, about 698,853 source lines and a 77.9 MB checkout. The install stopped on ERR_PNPM_IGNORED_BUILDS, naming esbuild@0.27.0; these measurements describe our contributor-checkout attempt.
The November 27 attempt used quickstart-lib at commit 4cd7ceffbefa. Its fresh, unprivileged lab-node:22 container had 2 CPUs, 4 GB RAM, no published ports and no secrets. The clone step took 5 seconds. The recipe derived a package name from package.json, then installed selenium 2.20.0 in 3.3 seconds with npm install selenium@latest. The two attempts therefore followed different installation routes at different commits.
The selected package occupied 30.1 MB in node_modules, and the dependency-count step reported 0 packages besides selenium. The recipe then searched the contributor README for a JavaScript or TypeScript example. Its snippet step failed, recording "the README has no JavaScript/TypeScript code block to run". The final teardown result was "ok".
| November 8 source-checkout observation | Recorded result |
|---|---|
| Environment | 3 CPUs, 8 GB RAM, image label lab-node:22 |
| Checkout | 5,659 files, about 698,853 source lines, 77.9 MB |
| Ecosystem detected | Node, pnpm, monorepo workspaces |
| Dependency installation | Failed, exit 1, 9 seconds |
| Final error | ERR_PNPM_IGNORED_BUILDS, naming esbuild@0.27.0 |
| Additional warning | package.json workspaces differ from pnpm-workspace.yaml; scope was all 5 workspace projects |
| Scan signals | 41 CI workflow files; no Dockerfile or tests directory detected |
The pnpm log suggests pnpm approve-builds to choose which dependencies may run scripts. It separately says pnpm uses pnpm-workspace.yaml when workspace definitions differ. The stopping error names the ignored esbuild script. For source contribution, the README requires Bazelisk and Java JDK 17 or greater, and links a developer-image Dockerfile under scripts/dev-image. The scan result describes what the scan detected; the README identifies a nested Dockerfile and the project's contributor toolchain.
Where people get stuck: identify the failing layer first
Selenium's debugging guide connects four common exceptions to distinct causes: missing elements, replaced elements, intercepted clicks and browser startup failures. It recommends saving a screenshot alongside the Selenium log at failure, then narrowing the cause before changing code. The guide recommends an explicit wait for the condition the next line depends on. That diagnostic order separates a page interaction problem from a browser or driver startup problem.
| Symptom | What to examine | Why |
|---|---|---|
No such element |
Selector, current frame and timing | The debugging guide says the locator matched nothing in the current frame at that moment. |
Stale element reference |
Page changes and the saved element reference | The guide says the page replaced the element after it was found. |
Element click intercepted |
Screenshot and overlapping content | The guide says something was drawn on top of the element; historical issue #1202 describes an obscured button whose click had no effect. |
Session not created |
Browser startup, driver selection and environment | The guide identifies this exception as a browser that never started. |
| Passes alone, fails in the suite | Browser reuse, cookies and shared state | The guide identifies shared state as a cause of suite-only failures. |
With BiDi enabled, the debugging guide says teams can collect browser console messages and JavaScript exceptions alongside the Selenium log. A screenshot records what appeared on the page, while the log records commands and driver replies. For the obscured-button case, issue #1202 reports different Firefox click behavior after upgrading from Selenium 2.47.1 to 2.48.0. Its version numbers and overlay description make it a specific historical interaction report.
In GitHub issue #9528, rcesarlumis reported timeouts while using selenium-java:4.0.0-beta-3. The reporter said switching the browser container to selenium/standalone-firefox:3.141.59-20210422 avoided those timeouts. In GitHub issue #13091, the discussion concerns Selenium 4.15 Docker images and session creation. Maintainer titusfortner identified Selenium Manager on the node as the component failing to parse results, placing the investigation at a different layer from the client test command.
Grid scale-up and recording shutdown are separate operations
Warxcell reported working KEDA scale-up and a risk of terminating an active test during node retirement in GitHub issue #9845. KEDA is the autoscaling tool discussed in that thread. The report separates two deployment operations: adding browser capacity in response to queued sessions and deciding which node can be removed. The warning that teardown "could kill test in progress" gives an autoscaling evaluation a concrete failure condition to examine.
The same discussion includes reports that video files depended on graceful recording-container shutdown and that per-test naming was a problem. A deployment exercise can follow a session through completion, node retirement and retrieval of its recording under the intended test identity. This is a proposed acceptance exercise derived from the reported problems: the recording is the artifact a developer needs after a failure, so its lifecycle belongs alongside browser scheduling.
Historical networking and browser changes involve different configuration choices. In issue #4162, Ken Han describes port exhaustion during eight parallel C# tests and a locally rebuilt workaround. In issue #15788, participants recommend Chromium or Chrome for Testing for extension loading after the branded Chrome 137 change. The first report concerns binding connections; the second concerns the selected browser distribution. Their original versions are essential to interpreting both reports.
Security depends on your Grid boundary and Manager settings
Selenium's Grid guide says Grid must be protected from external access with appropriate firewall permissions. Its warning lists access to internal applications and files, and execution of custom binaries, among the consequences of exposure. The guide describes Standalone, Hub and Node, and Distributed deployments. In each arrangement, the machines receiving browser commands and their network access are part of the infrastructure decision, alongside the browsers available to tests.
Selenium Manager collects usage statistics by default. The Manager documentation says SE_AVOID_STATS=true disables collection, and describes anonymised reporting to Plausible. It also documents proxy settings, an offline mode and a local cache. Restricted workstations therefore have specific configuration points for download access, cached browser and driver locations, and statistics collection. These are documented settings rather than results from either of our installation attempts.
Recent repository activity shows ongoing maintenance
GitHub recorded a push on November 27, 2026, and release selenium-4.54.0 was published on November 23. The repository metadata identifies Java as the main language and Apache-2.0 as the licence; the latest-release metadata supplies the release identity and date. These are separate identities from the two checkout commits: b9fa6bb identifies the November 8 attempt, and 4cd7ceffbefa identifies the November 27 recipe.
The issue discussions show why a useful reproduction names the component involved. The Selenium 4.15 report includes a Kubernetes hub, four nodes and manually installed browsers, while the C# port report names WebDriver 3.4.0 and its browser versions. For a team maintaining a suite, those details help distinguish a binding problem from a node configuration or browser change. A failing command, its logs and a small reproduction make that distinction reviewable.
Selenium vs Playwright, Cypress and the frameworks around WebDriver
Playwright Test bundles a runner, assertions, isolation and parallelization. Its introduction lists Chromium, WebKit and Firefox, while Selenium's Python documentation lists Safari among supported browsers. Selenium's project blog describes choosing a surrounding runner or downstream framework. Those documented differences support a workflow decision: retain a required browser and existing framework, or choose the included testing workflow of a new suite.
| Option | What changes for you | Choose it when |
|---|---|---|
| Selenium | Browser automation with a choice of surrounding runner | Your existing language framework and browser requirements decide the choice. |
| Playwright Test | Runner, assertions, isolation and parallelization are bundled | You want those pieces together for a new JavaScript or TypeScript suite. |
| Cypress | Open mode combines an application view, Command Log and time travel snapshots | You prefer inspecting the application alongside each command during development. |
| SeleniumBase, Nightwatch or Serenity | Selenium's project blog recommends considering these for runner integration | You want a framework around Selenium's browser-control layer. |
Cypress open mode lets users run specs, watch the Command Log and inspect the application or component under test. Its documentation explains that hovering over a command restores the corresponding application snapshot. Selenium's project blog instead discusses freedom to choose a runner, including downstream frameworks. Compare these authoring and debugging arrangements with the tools already used by the team: investigating a failed interaction is part of the workflow being selected.
Outdated claims, corrected
Selenium Manager has shipped with Selenium since version 4.6, so manual driver downloads are no longer a universal setup prerequisite. The Manager documentation describes automatic discovery, download and caching when a driver is unavailable. The tutorials and comparison below contain setup or architecture descriptions that need a version-specific correction. Local scripts, source contribution and remote Grid execution have different requirements, which is why a single prerequisite list can mislead a first-time user.
| Page and advice | Correction |
|---|---|
| Shahzeb Hoda's 2022 "Selenium Tutorial: Basics and Getting Started" says to download drivers and explicitly configure paths | The official quickstart dates automatic driver management to Selenium 4.6 onward. |
| Sabinulhaque's 2023 Brain Station 23 guide says to download each WebDriver executable and put it on PATH | Manager can discover, download and cache missing drivers; manual provisioning is an available route. |
| WebBrowserBot's beginner tutorial recommends Python 3.9+ and attributes Manager broadly to Selenium 4 | The reviewed Python documentation specifies Python 3.10+, and Manager's inclusion starts at 4.6. |
| Applitools' August 2026 comparison lists Selenium Standalone Server as a prerequisite | The Python documentation says local Selenium scripts do not need the Java server. |
| The same Applitools table describes Selenium using the JSON Wire Protocol | Selenium's documentation identifies W3C WebDriver and WebDriver BiDi. |
| Hoda's tutorial says WebDriver does not support parallel testing | The official quickstart assigns grouped and parallel execution to a test runner; WebDriver supplies browser control. |
The original advice appears in Hoda's tutorial, Brain Station 23's guide, WebBrowserBot's beginner tutorial and Applitools' comparison. The correction to WebBrowserBot is specifically about the documented Python requirement and Manager's introduction version. The Applitools corrections distinguish a local binding from a remote server and identify the standards named by Selenium's documentation.
FAQ
Selenium is an umbrella project for browser automation; WebDriver is the browser-control interface around which its libraries and infrastructure are built. The README describes tools and libraries implementing infrastructure for W3C WebDriver. That answers the Selenium-versus-WebDriver question before installation: choosing Selenium still leaves a language binding and surrounding test framework to choose. The questions below follow installation and comparison topics found in the recorded search questions.
What is Selenium, and how is it different from Selenium WebDriver?
Selenium is the umbrella project; WebDriver is its standards-based browser-control interface. The project README describes tools and libraries for browser automation, while the documentation identifies W3C WebDriver and WebDriver BiDi. A runner adds the surrounding testing workflow. When comparing an existing Selenium setup with another tool, include the runner, fixtures and reporting already used by the team because they form part of the working suite.
How do I download, install, and start using Selenium?
Python users can install or upgrade the binding with pip install -U selenium, according to the Python installation documentation, which lists Python 3.10+ as supported. The getting-started manual describes installing a language library, writing a browser script and adding a runner. Source contribution follows the README's separate route through Bazelisk and Java JDK 17 or greater. Choose the user manual for application automation and the contributor README for changing Selenium itself.
Which is better for my project: Selenium, Playwright, or Cypress?
Playwright Test includes a runner, assertions, isolation and parallelization; Cypress open mode provides an interactive application view and Command Log. Those workflow differences are documented in Playwright's introduction and Cypress's open-mode guide. Selenium's project blog describes choosing a surrounding runner. Required browsers, the team's existing language framework and its preferred failure-investigation workflow give the comparison concrete criteria instead of a universal winner.
How does Selenium compare with Cucumber or Appium?
Cucumber connects plain-text executable specifications to programming code through step definitions. Its documentation explains scenarios, Gherkin and step definitions, while Selenium's README describes browser automation. These descriptions place Cucumber at the specification layer and Selenium at the browser-control layer. A Cucumber step definition carries out the action described by a scenario step; choosing how that implementation interacts with a browser is a separate part of the test design.
What we have not tested yet
The November 8 install failed, and the November 27 recipe stopped at its README snippet search. Neither attempt records a supported binding-to-browser interaction, Bazel build, upstream test-suite result, vulnerability audit or browser performance measurement. The later 30.1 MB and dependency readings belong to the selected selenium 2.20.0 package, so they are excluded from the Selenium WebDriver setup assessment. The image labels also leave actual runtime and operating-system versions unknown.
The historical timeout, Manager parsing, C# port and Chrome extension reports have not been reproduced here on selenium-4.54.0. Their discussions do not establish universal repair versions, safe Kubernetes scale-down, video persistence or a complete Chrome 137 extension migration across bindings and packed or unpacked extensions. Our attempts also provide no session-capacity, cross-browser rendering or CI-reliability measurement. The video records lack transcripts, and Bilibili listings show tutorial topics rather than demonstrated walkthrough results.
There is no matched Selenium-versus-Playwright benchmark or independent corroboration of the CredibleSoft customer outcomes behind this review. Appium documentation was not retrieved, so the FAQ comparison covers Cucumber only. Rendered layout, resolved links, automatic related links, recommendation modules and template behavior also fall outside this review. A useful next evaluation would run a published binding against one critical flow in the required browser, recording failures with screenshots and logs, then extend remote execution through node retirement and recording retrieval.


