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.
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.
- npm downloads ratio: 1.24x against a 4.1x median; losing share.
- dev.to/agenthustler/playwright-vs-puppeteer-vs-selenium-2026-comparison-for-web-scraping-4i92: Keeps Selenium for legacy or Grid projects.
- blog.apify.com/playwright-vs-selenium-webscraping: Playwright is preferred for Node.js scraping.
- github commitsLastYear: Very active maintenance supports the floor of the range.
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.
- selenium.dev/blog/2026/selenium-4-53-released: Current stable release adds JavaScript accessibility snapshots and updates Grid and Manager.
- selenium.dev/documentation/grid: Grid distributes browser sessions across machines.
- pptr.dev/guides/page-interactions: Puppeteer offers locators with built-in waiting.
- cheerio.js.org/docs/basics/loading: Cheerio fetches and parses HTML directly.
- crawlee.dev/js/docs/introduction: Crawlee includes persistent URL queues, retries, and storage.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio: Install growth falls well below the catalog baseline.
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.
- category.job: The job is loading pages and reading their HTML; full browser control is one way to do it.
- blog.apify.com/playwright-vs-selenium-webscraping: Says Selenium is mostly used with Python for scraping.
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.
- selenium.dev/selenium/docs/api/javascript: Documents Node.js support and local and remote browser sessions.
- cheerio.js.org/docs/basics/loading: Cheerio fetches and parses static HTML without launching a browser.
- reddit.com/r/webdev/comments/1rgrqu4/what_do_you_use_for_web_scraping: Developers describe using static parsers and switching to browsers for rendered pages.
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.
- dev.to/agenthustler/playwright-vs-puppeteer-vs-selenium-2026-comparison-for-web-scraping-4i92: Slowest of the three (78s vs 45s for 100 pages), more memory, 45% bot detection; keeps it for legacy or Grid use.
- blog.apify.com/playwright-vs-selenium-webscraping: Calls Selenium's waiting convoluted with a risk of race conditions, and about 20% slower than Playwright.
- npm hasTypes: No bundled TypeScript types.
- selenium.dev/blog/2026/selenium-4-49-released: BiDi work continues in the JS bindings through a shared schema.
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.
- npm latestVersion, hasTypes: Stable release 4.53.0 ships without TypeScript declarations.
- selenium.dev/selenium/docs/api/javascript/IWebDriver.html: Documents DOM serialization, selectors, waits, and script execution.
- pptr.dev/guides/page-interactions: Puppeteer locators automatically wait for action preconditions.
- github.com/triposat/browser-automation-bench: On one Chrome build, DOM walks took 158–172 ms in Selenium and 77–88 ms in Puppeteer.
- github.com/SeleniumHQ/selenium/issues/14239: Users reported a wait typing mismatch that was fixed in DefinitelyTyped.
- selenium.dev/documentation/ai_agents: Maintainer guidance identifies obsolete APIs and flaky waits in agent-generated code.
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.
- npm versionsLastYear, latestPublishedAt: Fifteen versions in a year, with the latest published November 17.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 1,871 commits and 16 releases across the shared repository, with 103 open issues and 78 open PRs.
- github.com/SeleniumHQ/selenium/wiki/Releasing-Selenium: A technical committee member approves the preparation PR that starts automated publishing.
- selenium.dev/project/governance: Documents project governance and Software Freedom Conservancy membership.
- github.com/SeleniumHQ/selenium/blob/trunk/javascript/selenium-webdriver/CHANGES.md: Recent releases tightened Node.js requirements and continued work on BiDi.
- selenium.dev/documentation/webdriver/bidi/cdp: The project describes Chrome DevTools Protocol support as temporary during the move to BiDi.
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.
- selenium.dev/blog/2026/selenium-4-49-released: Backed by sponsors and development partners from the testing industry.
- dev.to/agenthustler/playwright-vs-puppeteer-vs-selenium-2026-comparison-for-web-scraping-4i92: An independent comparison recommends Playwright for new scraping work.
- 2025.stateofjs.com/en-US/libraries/testing: State of JS 2025 testing results show Playwright gaining most; Selenium is listed but not highlighted.
- W3C WebDriver: Selenium's protocol is a W3C Recommendation that browser vendors implement.
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.
- browserstack.com/docs/automate/selenium: BrowserStack runs Selenium sessions on its hosted browser grid.
- docs.saucelabs.com/web-apps/automated-testing/selenium: Sauce Labs supports Selenium and recommends WebdriverIO for its JavaScript tests.
- testmuai.com/research/state-of-ai-in-quality-engineering: The survey shows continued Selenium use among QA teams.
- github.com/ivankahl/web-scraping-benchmarks: A small independent Node.js benchmark found Selenium slower and more variable than Puppeteer.
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.
- npm dependencies, license; advisories total: Four direct dependencies, Apache-2.0, and zero recorded package advisories.
- scorecard score, checks: 3.3 overall, with zeroes for Dangerous-Workflow, Token-Permissions, Pinned-Dependencies, and Signed-Releases.
- github.com/SeleniumHQ/selenium/pull/17445: Merged change adds npm trusted publishing through GitHub Actions.
- github.com/SeleniumHQ/selenium/security: Documents private vulnerability reporting and a signing key specific to Java artifacts.
- selenium.dev/documentation/release_notes: Documents the Node.js requirement change following the eMudhra distrust.
- selenium.dev/documentation/selenium_manager: Explains automatic download and caching of native drivers.
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
- 8.1Cheerio
- 7.9Puppeteer
- 7.8Crawlee
- 7.3htmlparser2
- 7.1jsdom
- 6.8Stagehand
- 6.8Readability
- 5.5Happy DOM
- 5.4LinkeDOM
- 5.2Selenium WebDriver