Elestia Open Source Ratings
5.2

Selenium WebDriver

Reasonable, with limits. 10th of 10 web scraping and HTML parsing.

selenium-webdriver is the JavaScript binding of Selenium, the W3C WebDriver browser automation project. It is mature and very actively maintained, but for loading pages and reading their HTML from Node.js it is slower and wordier than Puppeteer or Playwright, and it is losing ground. It fits best where a team already runs Selenium or Selenium Grid.

Best for: Teams that already run Selenium or Selenium Grid, or that need the W3C WebDriver standard across many browsers and languages.

WebsiteGitHubnpm

Scores

Overall5.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

Selenium is well maintained and safe enough, but for loading and reading web pages from JavaScript, Puppeteer (in this bundle) and Playwright do the job faster with a cleaner API. Downloads that grow far below the median confirm that new projects choose other tools. Keep it where Selenium or Grid is already in place; for new Node.js scraping, pick Puppeteer or Playwright, or Cheerio for static HTML.

GPT-6.2 Sol: 6.4, likely 5.3 to 7.5

Selenium is a reasonable choice for a new Node.js scraper when native Safari or an existing Grid matters. It is actively maintained, but Puppeteer is simpler for most browser-driven scraping, Cheerio is lighter for static pages, and Crawlee supplies queues and retries for larger crawls. Slower adoption growth and limited evidence from JavaScript scraping deployments temper the recommendation. The best fit depends on how much the project needs Selenium's browser coverage and remote infrastructure.

Needed by many4.6

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Many developers need to load and read web pages, and a real browser covers pages that need JavaScript. In the JS world, though, Selenium serves mostly end-to-end testing and a smaller set of scraping users. Developers who only need to parse static HTML do not need a full browser at all.

GPT-6.2 Sol: 4.2, likely 3.1 to 5.4

Reading HTML is useful in many JavaScript projects, but Selenium fits the narrower set that needs a real browser for rendering or interaction. Its Node.js runtime requirement narrows that audience further. Developer reports illustrate when a browser helps, though they give little basis for estimating how often teams need one.

Helps a lot5.6

How well does it do the job for those who need it?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

It is reliable and standards-based, and its BiDi support keeps improving. For scraping from Node.js, independent tests rate it slower, heavier and easier to detect than Puppeteer and Playwright, and they call its API verbose with no auto-waiting. It also ships no types of its own. The benchmark evidence comes from blog authors, so the range stays a point wide on each side.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.8

Version 4.53.0 can return rendered HTML, query the live DOM, and drive browser interactions. Puppeteer has more convenient waiting APIs, and a pinned-Chrome benchmark found Selenium slower on its DOM walk. The JavaScript API reference is detailed, but TypeScript declarations are maintained separately and Selenium documents that coding agents often suggest obsolete APIs. The performance gap will vary by workload, and there is little direct evidence on coding-agent accuracy.

Holds up over time8.1

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

The project is very active, with about 1,900 commits, 16 releases a year and a fresh 4.53 release. It has nearly 950 contributors and company sponsors, and it is tied to a W3C standard. Issue handling looks healthy, with 103 open issues against more than 11,000 closed. The risk is that JS users drift toward Playwright and Puppeteer, which may make the JS binding a lower priority over time.

  • github commitsLastYear / releasesLastYear: 1,871 commits and 16 releases in the last year.
  • github contributors / openIssues: 947 contributors; 103 open issues against 11,182 closed.
  • selenium.dev/blog/2026/selenium-4-49-released: Regular releases; sponsors include BrowserStack, TestMu AI, Bright Data and Applitools.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

Fifteen npm versions in the past year and recent JavaScript changes show that the binding is actively maintained. A technical committee coordinates releases, and the project has institutional support from Software Freedom Conservancy. WebDriver BiDi gives it a cross-browser path forward, while the recent increase in minimum Node.js patch versions shows that upgrades can require runtime changes. Repository totals cover all bindings, so JavaScript issue turnaround remains harder to estimate.

Used widely5.9

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Its installed base is large: about 8.4M downloads in 4 weeks and about 623k dependent repositories. That count is above Puppeteer's, though much of it comes from old test suites. Downloads grew only 1.24x in a year against a median of 4.1x, so it is clearly losing share. The 35k stars cover Selenium in every language, not only the JS package.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 8.44M vs 6.81M, a ratio of about 1.24 against a 4.1 median.
  • dependents.repos: 622,782 dependent repos; large but old.
  • peers Puppeteer downloads: Puppeteer has 61.9M downloads and grew 2.6x.

GPT-6.2 Sol: 5.8, likely 4.4 to 7.2

The index found about 623,000 dependent repositories, ahead of Puppeteer and Cheerio, though many use Selenium for testing. Four-week installs rose 24% to 8.44 million, a 1.24× ratio against the catalog median of 4.1× and the slowest growth in this peer set. CI can repeat installs, and GitHub stars and Bluesky links cover every Selenium binding. The share of dependents that chose the JavaScript package specifically for scraping is uncertain.

  • dependents repos, packages; peers dependentRepos: 622,782 indexed repositories and 2,258 packages depend on the JavaScript binding.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers: 8.44 million versus 6.81 million, with slower year-over-year growth than every listed peer.
  • project note; github stars; bluesky posts, top; hackerNews stories: 34,602 stars and 12 Bluesky links cover the shared repository, with zero matched Hacker News stories.
  • testmuai.com/research/state-of-ai-in-quality-engineering: In the 2026 QA survey, 52% reported using Selenium and 62.1% reported using Playwright.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Selenium is backed by a W3C standard, browser vendors and commercial grids, and many enterprises use it for QA. For this category's job in JavaScript, though, current independent write-ups recommend Playwright or Puppeteer and keep Selenium for legacy and Grid use. Recent surveys point to Playwright's rise rather than Selenium satisfaction.

GPT-6.2 Sol: 6.0, likely 4.6 to 7.3

BrowserStack and Sauce Labs support Selenium in their hosted browser services, which gives cross-browser automation a credible track record. The 2026 QA survey shows substantial use, and an independent Node.js scraping benchmark found Selenium workable but slower than Puppeteer. Most of the external evidence concerns testing, so confidence is lower for production scraping with the JavaScript binding.

Safe6.6

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It has no known advisories and only 4 dependencies, under the Apache-2.0 licence. Its OpenSSF Scorecard is low at 3.3, with zeros for Dangerous-Workflow, Token-Permissions, Pinned-Dependencies, Signed-Releases and Binary-Artifacts. Those gaps point to supply-chain risk in the build pipeline of a very large multi-language repository. Driving a real browser on untrusted pages also needs care.

  • advisories.total: 0 advisories.
  • scorecard.score: 3.3, with zeros in Dangerous-Workflow, Token-Permissions and Signed-Releases.
  • npm dependencies / license: 4 dependencies; Apache-2.0.

GPT-6.2 Sol: 6.6, likely 5.2 to 7.9

The npm package has four direct dependencies, a permissive Apache-2.0 license, and zero advisories in the supplied OSV snapshot. Selenium documents private reporting, uses npm trusted publishing in CI, and tightened its Node.js requirements after a certificate authority distrust. The repository's 3.3 OpenSSF Scorecard flags weak workflow permissions and dependency pinning, and Selenium Manager can download native drivers at runtime. The repository-wide checks and the unverified number of npm owners with manual publish access keep the range wide.

Good

  • It drives Chrome, Firefox, Edge and Safari through the W3C WebDriver standard, and it can run them remotely on Selenium Grid or cloud grids.
  • It is very actively maintained, with about 1,900 commits and 16 releases in the last year, nearly 950 contributors and paying sponsors.
  • Nobody has reported a security advisory against it, and it pulls in only 4 dependencies under the permissive Apache-2.0 licence.
  • It has a huge ecosystem of documentation, tutorials and QA know-how built up over more than a decade.

Bad

  • Independent comparisons find it slower and heavier than Puppeteer or Playwright when scraping, and anti-bot systems detect it more easily.
  • It does not wait for elements on its own, so scrapers need explicit waits, which makes code verbose and prone to races.
  • It ships no TypeScript types, so you have to install @types/selenium-webdriver separately.
  • Its downloads grew far more slowly than the median, so new Node.js projects are choosing other tools.

The numbers

npm downloads, 4 weeks
8.4M +24% in a year
GitHub stars
35k
Commits, 12 months
1.9k
npm version
4.53.0 Nov 2026
Versions, 12 months
15
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.3 out of 10, Nov 2026
Licence
Apache-2.0

The repository holds Selenium for all languages. The package is its JavaScript version.

Read on 21 November 2026 from GitHub (SeleniumHQ/selenium), npm (selenium-webdriver), OSV and the OpenSSF Scorecard.

Web scraping and HTML parsing

  1. 8.1Cheerio
  2. 7.9Puppeteer
  3. 7.8Crawlee
  4. 7.3htmlparser2
  5. 7.1jsdom
  6. 6.8Stagehand
  7. 6.8Readability
  8. 5.5Happy DOM
  9. 5.4LinkeDOM
  10. 5.2Selenium WebDriver
Compare all 10 on six scores