Skip to content
JS
Alternatives

@browserbasehq/stagehand alternatives

8 packages that do the same job as @browserbasehq/stagehand: @playwright-testing-library/test, query-selector-shadow-dom, selenium-webdriver, wd, playwright-ctrf-json-reporter, @appium/types, @appium/support, @appium/schema. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
@browserbasehq/stagehand
This package
1.1m--415 days agoESM onlyBundled-
@playwright-testing-library/test18.6k--23 years agoCommonJSBundled-
query-selector-shadow-dom9.6m+948%-03 years agoCommonJSNone-
selenium-webdriver2m+19%-415 days agoCommonJSNone-
wd119k-22%-75 years agoCommonJSNone-
playwright-ctrf-json-reporter306.5k+176%-16 months agoCommonJSBundled-
@appium/types2.6m+230%-2todayCommonJSBundled-
@appium/support2.4m+242%-24todayCommonJSBundled-
@appium/schema2.4m+249%-12 months agoCommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

playwright + dom-testing-library

Compared with @browserbasehq/stagehand

  • 61x fewer weekly downloads (18.6k vs 1.1m)
  • 2 dependencies vs 4
  • CommonJS vs ESM only
  • Declares Node.js >=12 vs Node.js >=22.18.0
  • Last release 28 Sept 2022 vs 9 Sept 2026
  • 101x fewer GitHub stars (252 vs 25.4k)

use querySelector syntax to search for nodes inside of (nested) shadow roots

Compared with @browserbasehq/stagehand

  • 8.4x more weekly downloads (9.6m vs 1.1m)
  • 0 dependencies vs 4
  • CommonJS vs ESM only
  • No types vs bundled types
  • Declares no Node.js engine range vs Node.js >=22.18.0
  • Last release 17 Nov 2022 vs 9 Sept 2026
  • 98x fewer GitHub stars (260 vs 25.4k)

The official WebDriver JavaScript bindings from the Selenium project

Compared with @browserbasehq/stagehand

  • 1.8x more weekly downloads (2m vs 1.1m)
  • CommonJS vs ESM only
  • No types vs bundled types
  • Declares Node.js >= 22.0.0 vs Node.js >=22.18.0
  • Last release 9 Sept 2026 vs 9 Sept 2026
  • 1.4x more GitHub stars (34.5k vs 25.4k)

WebDriver/Selenium 2 node.js client

Compared with @browserbasehq/stagehand

  • 9.6x fewer weekly downloads (119k vs 1.1m)
  • 7 dependencies vs 4
  • CommonJS vs ESM only
  • No types vs bundled types
  • Declares no Node.js engine range vs Node.js >=22.18.0
  • Last release 29 Jan 2021 vs 9 Sept 2026
  • 17x fewer GitHub stars (1.5k vs 25.4k)

A Playwright JSON test reporter to create test results reports

Compared with @browserbasehq/stagehand

  • 3.7x fewer weekly downloads (306.5k vs 1.1m)
  • 1 dependency vs 4
  • CommonJS vs ESM only
  • Declares no Node.js engine range vs Node.js >=22.18.0
  • Last release 21 Mar 2026 vs 9 Sept 2026
  • 242x fewer GitHub stars (105 vs 25.4k)

Various type declarations used across Appium

Compared with @browserbasehq/stagehand

  • 2.2x more weekly downloads (2.6m vs 1.1m)
  • 2 dependencies vs 4
  • CommonJS vs ESM only
  • Declares Node.js ^20.19.0 || ^22.12.0 || >=24.0.0 vs Node.js >=22.18.0
  • Last release 24 Sept 2026 vs 9 Sept 2026
  • 1.2x fewer GitHub stars (22k vs 25.4k)

Support libs used across Appium packages

Compared with @browserbasehq/stagehand

  • 2.1x more weekly downloads (2.4m vs 1.1m)
  • 24 dependencies vs 4
  • CommonJS vs ESM only
  • Declares Node.js ^20.19.0 || ^22.12.0 || >=24.0.0 vs Node.js >=22.18.0
  • Last release 24 Sept 2026 vs 9 Sept 2026
  • 1.2x fewer GitHub stars (22k vs 25.4k)

Appium Configuration Schema

Compared with @browserbasehq/stagehand

  • 2.1x more weekly downloads (2.4m vs 1.1m)
  • 1 dependency vs 4
  • CommonJS vs ESM only
  • Declares Node.js ^20.19.0 || ^22.12.0 || >=24.0.0 vs Node.js >=22.18.0
  • Last release 25 Jul 2026 vs 9 Sept 2026
  • 1.2x fewer GitHub stars (22k vs 25.4k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.