freshcrate
Skin:/
Home > Uncategorized > stagehand

stagehand

The SDK For Browser Agents

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

The SDK For Browser Agents

README

The AI Browser Automation Framework
Read the Docs

MIT License Discord Community

browserbase%2Fstagehand | Trendshift

Ask DeepWiki

If you're looking for the Python implementation, you can find it here

Vibe code Stagehand with Director Director

What is Stagehand?

Stagehand is a browser automation framework used to control web browsers with natural language and code. By combining the power of AI with the precision of code, Stagehand makes web automation flexible, maintainable, and actually reliable.

Why Stagehand?

Most existing browser automation tools either require you to write low-level code in a framework like Selenium, Playwright, or Puppeteer, or use high-level agents that can be unpredictable in production. By letting developers choose what to write in code vs. natural language (and bridging the gap between the two) Stagehand is the natural choice for browser automations in production.

  1. Choose when to write code vs. natural language: use AI when you want to navigate unfamiliar pages, and use code when you know exactly what you want to do.

  2. Go from AI-driven to repeatable workflows: Stagehand lets you preview AI actions before running them, and also helps you easily cache repeatable actions to save time and tokens.

  3. Write once, run forever: Stagehand's auto-caching combined with self-healing remembers previous actions, runs without LLM inference, and knows when to involve AI whenever the website changes and your automation breaks.

Getting Started

Start with Stagehand with one line of code, or check out our Quickstart Guide for more information:

npx create-browser-app

Example

Here's how to build a sample browser automation with Stagehand:

// Stagehand's CDP engine provides an optimized, low level interface to the browser built for automation
const page = stagehand.context.pages()[0];
await page.goto("https://github.com/browserbase");

// Use act() to execute individual actions
await stagehand.act("click on the stagehand repo");

// Use agent() for multi-step tasks
const agent = stagehand.agent();
await agent.execute("Get to the latest PR");

// Use extract() to get structured data from the page
const { author, title } = await stagehand.extract(
  "extract the author and title of the PR",
  z.object({
    author: z.string().describe("The username of the PR author"),
    title: z.string().describe("The title of the PR"),
  }),
);

Documentation

Visit docs.stagehand.dev to view the full documentation.

Build and Run from Source

git clone https://github.com/browserbase/stagehand.git
cd stagehand
pnpm install
pnpm run build
pnpm run example # run the blank script at ./examples/example.ts

Stagehand is best when you have an API key for an LLM provider and Browserbase credentials. To add these to your project, run:

cp .env.example .env
nano .env # Edit the .env file to add API keys

Installing from a branch

You can install and build Stagehand directly from a github branch using gitpkg

In your project's package.json set:

"@browserbasehq/stagehand": "https://gitpkg.now.sh/browserbase/stagehand/packages/core?<branchName>",

Contributing

Note

We highly value contributions to Stagehand! For questions or support, please join our Discord community.

At a high level, we're focused on improving reliability, extensibility, speed, and cost in that order of priority. If you're interested in contributing, bug fixes and small improvements are the best way to get started. For more involved features, we strongly recommend reaching out to Miguel Gonzalez or Paul Klein in our Discord community before starting to ensure that your contribution aligns with our goals.

Acknowledgements

We'd like to thank the following people for their major contributions to Stagehand:

License

Licensed under the MIT License.

Copyright 2025 Browserbase, Inc.

Release History

VersionChangesUrgencyDate
@browserbasehq/browse-cli@0.6.1### Patch Changes - Updated dependencies \[[`3a53ed4`](https://github.com/browserbase/stagehand/commit/3a53ed4ea97e079b295059a338f1ef8e768f8919), [`6e75725`](https://github.com/browserbase/stagehand/commit/6e75725b39898b3cbad681272009a69d94ca8238), [`8fc16d2`](https://github.com/browserbase/stagehand/commit/8fc16d2e1845807103da6e62928b28e0de03ab90), [`78bcde8`](https://github.com/browserbase/stagehand/commit/78bcde88e28f147acc6ca9aef9753cd96c870c35), [`3e95a87`](https://github.com/browserbaseHigh6/3/2026
stagehand-server-v3/v3.7.0## What's Changed * Add `screenshot` option to Extract by @miguelg719 in https://github.com/browserbase/stagehand/pull/2149 * feat(verifier): add evaluator backend facade by @miguelg719 in https://github.com/browserbase/stagehand/pull/2129 * Workflow: publish eval results by @miguelg719 in https://github.com/browserbase/stagehand/pull/2093 * fix[evals] remove braintrust api key requirement (#2145) by @miguelg719 in https://github.com/browserbase/stagehand/pull/2153 * Delete packages/server-v4 enHigh5/27/2026
stagehand-server-v3/v3.6.10## What's Changed * Version Packages by @github-actions[bot] in https://github.com/browserbase/stagehand/pull/2067 * [chore]: bump mcp sdk & fastify by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2106 * Evals TUI tree traversal by @miguelg719 in https://github.com/browserbase/stagehand/pull/2100 * [docs]: add docs for `ignoreSelectors` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2097 * [docs]: add `ignoreSelectors` to docs for `extract()` by @seanmcguirHigh5/20/2026
stagehand-server-v3/v3.6.9## What's Changed * Evals man help by @miguelg719 in https://github.com/browserbase/stagehand/pull/2092 * [docs]: rm lockfile from docs package by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2099 * [chore]: move integration libs into peer deps by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2101 * [chore]: rm evals changeset by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2108 **Full Changelog**: https://github.com/browserbase/stagehandHigh5/11/2026
stagehand-server-v3/v3.6.8## What's Changed * [chore]: bump various transitive deps across monorepo by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/2098 **Full Changelog**: https://github.com/browserbase/stagehand/compare/stagehand-server-v3/v3.6.7...stagehand-server-v3/v3.6.8High5/8/2026
stagehand-server-v3/v3.6.4## What's Changed * [chore] update supported CUA models (#2064) by @miguelg719 in https://github.com/browserbase/stagehand/pull/2065 * default agent to hybrid mode by @tkattkat in https://github.com/browserbase/stagehand/pull/2047 * Evals v2 by @miguelg719 in https://github.com/browserbase/stagehand/pull/2011 * Remove old trace by @miguelg719 in https://github.com/browserbase/stagehand/pull/2075 * [STG-1808] Use STAGEHAND_API_URL for Stagehand API client by @monadoid in https://github.com/browseHigh5/4/2026
@browserbasehq/browse-cli@0.6.0### Minor Changes - [#1935](https://github.com/browserbase/stagehand/pull/1935) [`666baf1`](https://github.com/browserbase/stagehand/commit/666baf1df966b598efd89402563350319ca1aa36) Thanks [@shrey150](https://github.com/shrey150)! - Add global flags for commonly used Browserbase session parameters (--proxies, --advanced-stealth, --solve-captchas, --region, --keep-alive, --session-timeout, --block-ads). These flags configure the Browserbase session in remote mode. ### Patch Changes - [#190High4/27/2026
stagehand-server-v3/v3.6.3## What's Changed * Include LLM headers in ModelConfig by @miguelg719 in https://github.com/browserbase/stagehand/pull/1874 * Fix schema parsing bug for Pydantic `.model_json_schema()` by @miguelg719 in https://github.com/browserbase/stagehand/pull/1873 * feat(cli): add browse-cli metadata to Browserbase sessions by @shrey150 in https://github.com/browserbase/stagehand/pull/1890 * STG-1669: fix(cli): clear cached state when browser connection dies by @shrey150 in https://github.com/browserbase/Medium3/31/2026
stagehand-server-v3/v3.6.2## What's Changed * [docs]: add docs for `page.setExtraHTTPHeaders()` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1842 * Revert unintentional test commit by @miguelg719 in https://github.com/browserbase/stagehand/pull/1850 * [feat]: apply `toolTimeout` arg to more tools by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1843 * Revert broken finished SSE yield config by @monadoid in https://github.com/browserbase/stagehand/pull/1856 * remove unnecssary valueMedium3/24/2026
@browserbasehq/stagehand@3.2.0### Minor Changes - [#1779](https://github.com/browserbase/stagehand/pull/1779) [`2f43ffa`](https://github.com/browserbase/stagehand/commit/2f43ffac11778152d17e4c44405770cc32c3ec8c) Thanks [@shrey150](https://github.com/shrey150)! - feat: add `cdpHeaders` option to `localBrowserLaunchOptions` for passing custom HTTP headers when connecting to an existing browser via CDP URL - [#1834](https://github.com/browserbase/stagehand/pull/1834) [`63ee247`](https://github.com/browserbase/stagehand/coLow3/18/2026
@browserbasehq/browse-cli@0.2.0### Minor Changes - [#1816](https://github.com/browserbase/stagehand/pull/1816) [`687d54a`](https://github.com/browserbase/stagehand/commit/687d54addad5625f28d51c6994170c7b629871f2) Thanks [@shrey150](https://github.com/shrey150)! - Add `--context-id` and `--persist` flags to `browse open` for loading and persisting Browserbase Contexts across sessions - [#1793](https://github.com/browserbase/stagehand/pull/1793) [`e38c13b`](https://github.com/browserbase/stagehand/commit/e38c13b7526b140b6Low3/18/2026
stagehand-server-v3/v3.6.1## What's Changed * [fix]: rm legacy `handlePossibleNavigation()` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1761 * [docs]: add docs for `context.setExtraHTTPHeaders()` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1762 * [STG-1458] server cache docs by @sameelarif in https://github.com/browserbase/stagehand/pull/1753 * chore: remove retired Claude 3.5 and 3.7 Sonnet models by @shrey150 in https://github.com/browserbase/stagehand/pull/1775 * fix: expoLow3/10/2026
stagehand-server/v3.6.1## What's Changed * [docs]: add docs for cookie handling by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1748 * [docs]: add `keepAlive` docs by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1747 * [STG-1450] Fix Session init failing when no pages are open, falls back to opening about:blank by @pirate in https://github.com/browserbase/stagehand/pull/1749 * STG-1307: set Sonatype portal for Java/Kotlin by @monadoid in https://github.com/browserbase/stagehand/puLow2/25/2026
@browserbasehq/stagehand@3.1.0### Minor Changes - [#1681](https://github.com/browserbase/stagehand/pull/1681) [`e3db9aa`](https://github.com/browserbase/stagehand/commit/e3db9aa863f44270792215801fe6e3a02a1321aa) Thanks [@tkattkat](https://github.com/tkattkat)! - Add cookie management APIs: `context.addCookies()`, `context.clearCookies()`, & `context.cookies()` - [#1672](https://github.com/browserbase/stagehand/pull/1672) [`b65756e`](https://github.com/browserbase/stagehand/commit/b65756e9e85643055446aa4a51956f7d662Low2/24/2026
@browserbasehq/stagehand@2.5.8### Patch Changes - [#1710](https://github.com/browserbase/stagehand/pull/1710) [`df76207`](https://github.com/browserbase/stagehand/commit/df7620708a3c2a1142f0eec2664caf86be170b0c) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - handle target closed errors on rapidly opening/closing popups Low2/19/2026
stagehand-server/v3.6.0## What's Changed * Fix SEA release workflow for Windows by @miguelg719 in https://github.com/browserbase/stagehand/pull/1603 * Enable bedrock provider on server by @miguelg719 in https://github.com/browserbase/stagehand/pull/1604 * [docs]: add docs for `page.snapshot()` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1589 * [docs]: add docs for `page.waitForSelector()` by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1605 * [docs]: add docs for local browserLow2/4/2026
stagehand-server/v3.5.1## What's Changed * [chore]: add stricter linting rules by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1597 * improve agent usage metrics by @tkattkat in https://github.com/browserbase/stagehand/pull/1596 * Fix deprecated cua: true syntax in v3 migration guide by @aq17 in https://github.com/browserbase/stagehand/pull/1601 * Logging agent output to file example by @monadoid in https://github.com/browserbase/stagehand/pull/1599 * Add support for vertex on stagehand server by @mLow1/24/2026
@browserbasehq/stagehand@3.0.8### Patch Changes - [#1514](https://github.com/browserbase/stagehand/pull/1514) [`40ce5cc`](https://github.com/browserbase/stagehand/commit/40ce5cc83ec758f4e8c37132a7f4ac8eeea7ca34) Thanks [@tkattkat](https://github.com/tkattkat)! - Rename the close tool in agent to "done" - [#1574](https://github.com/browserbase/stagehand/pull/1574) [`5506f41`](https://github.com/browserbase/stagehand/commit/5506f416d2609d112b553263984e21d7a30e32b1) Thanks [@tkattkat](https://github.com/tkattkat)! - fix(sLow1/22/2026
@browserbasehq/stagehand@2.5.7### Patch Changes - [#1593](https://github.com/browserbase/stagehand/pull/1593) [`159f6d3`](https://github.com/browserbase/stagehand/commit/159f6d360cda6af46d45be4be33178dfb2969122) Thanks [@tkattkat](https://github.com/tkattkat)! - Update extract tool Low1/22/2026
stagehand-server/v3.4.0## What's Changed * Removed x-language and x-sdk-version from openapi spec by @monadoid in https://github.com/browserbase/stagehand/pull/1515 * Using provider/model syntax in modelName examples within openapi spec by @monadoid in https://github.com/browserbase/stagehand/pull/1526 * Update docs for canonical by @tkattkat in https://github.com/browserbase/stagehand/pull/1519 * Update version number for new 3.4.0 release by @monadoid in https://github.com/browserbase/stagehand/pull/1529 **Full CLow1/13/2026
stagehand-server/v3.3.0## What's Changed * Hybrid mode docs by @tkattkat in https://github.com/browserbase/stagehand/pull/1454 * Update agent message handling by @tkattkat in https://github.com/browserbase/stagehand/pull/1478 * add waitForTimeout to page by @tkattkat in https://github.com/browserbase/stagehand/pull/1481 * Update agent to only calculate xpath when caching is enabled by @tkattkat in https://github.com/browserbase/stagehand/pull/1480 * Screenshot after actions by @tkattkat in https://github.com/browserbaLow1/9/2026
stagehand-server/v3.2.0## What's Changed * [Feature] exclude tools from agent by @tkattkat in https://github.com/browserbase/stagehand/pull/1440 * [feat]: add support for safety confirmation callback for OpenAI + Google CUA by @shrey150 in https://github.com/browserbase/stagehand/pull/1473 * [fix]: refresh agent cache on action failure by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1472 * Version Packages by @github-actions[bot] in https://github.com/browserbase/stagehand/pull/1414 **Full ChangelLow12/27/2025
@browserbasehq/stagehand@3.0.7### Patch Changes - [#1461](https://github.com/browserbase/stagehand/pull/1461) [`0f3991e`](https://github.com/browserbase/stagehand/commit/0f3991eedc0aaff72ef718dda3ddb0839cf4a464) Thanks [@tkattkat](https://github.com/tkattkat)! - Move hybrid mode out of experimental - [#1433](https://github.com/browserbase/stagehand/pull/1433) [`e0e22e0`](https://github.com/browserbase/stagehand/commit/e0e22e06bc752a8ffde30f3dbfa58d91e24e6c09) Thanks [@tkattkat](https://github.com/tkattkat)! - Put hybriLow12/27/2025
stagehand-server/v3.1.3## What's Changed * update agent docs by @tkattkat in https://github.com/browserbase/stagehand/pull/1411 * fix: load `GOOGLE_API_KEY` from env by @seanmcguire12 in https://github.com/browserbase/stagehand/pull/1412 * [docs]: update `act` reference with preferred model name formatting by @ziruihao in https://github.com/browserbase/stagehand/pull/1409 * [docs] add link to Discord by @shrey150 in https://github.com/browserbase/stagehand/pull/1416 * Update screenshot collector by @tkattkat in https:Low12/24/2025
@browserbasehq/stagehand@3.0.6### Patch Changes - [#1388](https://github.com/browserbase/stagehand/pull/1388) [`605ed6b`](https://github.com/browserbase/stagehand/commit/605ed6b81a3ff8f25d4022f1e5fce6b42aecfc19) Thanks [@miguelg719](https://github.com/miguelg719)! - Fix multiple click event dispatches on CDP and Anthropic CUA handling (double clicks) - [#1400](https://github.com/browserbase/stagehand/pull/1400) [`34e7e5b`](https://github.com/browserbase/stagehand/commit/34e7e5b292f5e6af6efc0da60118663310c5f718) Thanks Low12/13/2025
@browserbasehq/stagehand@2.5.6### Patch Changes - [#1396](https://github.com/browserbase/stagehand/pull/1396) [`b7bc0b6`](https://github.com/browserbase/stagehand/commit/b7bc0b621b966db9e30d96c4439cd1eaa2ee1ce5) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - deprecate drawOverlay parameter in observe Low12/9/2025
@browserbasehq/stagehand@2.5.5### Patch Changes - [#1389](https://github.com/browserbase/stagehand/pull/1389) [`575226f`](https://github.com/browserbase/stagehand/commit/575226f90993c35c87c533b2200a3f737bff54cb) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Retry DOM.getDocument on max depth exceeded with exponential backoff - [#1386](https://github.com/browserbase/stagehand/pull/1386) [`dbffb75`](https://github.com/browserbase/stagehand/commit/dbffb7574b74ba768e5a0882c518a5dce87a977e) Thanks [@seanmcguiLow12/9/2025
@browserbasehq/stagehand@2.5.4### Patch Changes - [#1368](https://github.com/browserbase/stagehand/pull/1368) [`fb74c90`](https://github.com/browserbase/stagehand/commit/fb74c9049ca0bfa7dc0148342af71e7fd55b835e) Thanks [@miguelg719](https://github.com/miguelg719)! - Version bump to 2.5.4 Low12/5/2025
@browserbasehq/stagehand@3.0.3### Patch Changes - [#1273](https://github.com/browserbase/stagehand/pull/1273) [`ab51232`](https://github.com/browserbase/stagehand/commit/ab51232db428be048957c0f5d67f2176eb7a5194) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fix: trigger shadow root rerender in OOPIFs by cloning & replacing instead of reloading - [#1268](https://github.com/browserbase/stagehand/pull/1268) [`c76ade0`](https://github.com/browserbase/stagehand/commit/c76ade009ef81208accae6475ec4707d3906e566)Low11/16/2025
@browserbasehq/stagehand@3.0.2### Patch Changes - [#1245](https://github.com/browserbase/stagehand/pull/1245) [`a224b33`](https://github.com/browserbase/stagehand/commit/a224b3371b6c1470baf342742fb745c7192b52c6) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - allow act() to call hover() - [#1234](https://github.com/browserbase/stagehand/pull/1234) [`6fc9de2`](https://github.com/browserbase/stagehand/commit/6fc9de2a1079e4f2fb0b1633d8df0bb7a9f7f89f) Thanks [@miguelg719](https://github.com/miguelg719)! - Add Low11/14/2025
@browserbasehq/stagehand@3.0.1### Patch Changes - [#1207](https://github.com/browserbase/stagehand/pull/1207) [`55da8c6`](https://github.com/browserbase/stagehand/commit/55da8c6e9575cbad3246c55b17650cf6b293ddbe) Thanks [@miguelg719](https://github.com/miguelg719)! - Fix broken links to quickstart docs - [#1200](https://github.com/browserbase/stagehand/pull/1200) [`0a5ee63`](https://github.com/browserbase/stagehand/commit/0a5ee638bde051d109eb2266e665934a12f3dc31) Thanks [@seanmcguire12](https://github.com/seanmcguire12)Low10/31/2025
@browserbasehq/stagehand@2.5.2### Patch Changes - [#1114](https://github.com/browserbase/stagehand/pull/1114) [`c0fbc51`](https://github.com/browserbase/stagehand/commit/c0fbc51a4b7e0b803af254501d2f89473124f0dc) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - configure default viewport when running on browserbase Low10/8/2025
@browserbasehq/stagehand@2.5.1### Patch Changes - [#1082](https://github.com/browserbase/stagehand/pull/1082) [`8c0fd01`](https://github.com/browserbase/stagehand/commit/8c0fd01c965a809b96c026f4674685e6445bc7d4) Thanks [@tkattkat](https://github.com/tkattkat)! - Pass stagehand object to agent instead of stagehand page - [#1104](https://github.com/browserbase/stagehand/pull/1104) [`a1ad06c`](https://github.com/browserbase/stagehand/commit/a1ad06c5398db10db7a2a83075b808dc63a963f7) Thanks [@miguelg719](https://github.com/Low10/7/2025
@browserbasehq/stagehand@2.5.0### Minor Changes - [#981](https://github.com/browserbase/stagehand/pull/981) [`8244ab2`](https://github.com/browserbase/stagehand/commit/8244ab247cd679962685ae2f7c54e874ce1fa614) Thanks [@sameelarif](https://github.com/sameelarif)! - Added support for `stagehand.agent` to interact with MCP servers as well as custom tools to be passed in. For more information, reference the [MCP integrations documentation](https://docs.stagehand.dev/best-practices/mcp-integrations) ### Patch Changes - [#9Low9/4/2025
@browserbasehq/stagehand@2.4.4### Patch Changes - [#1012](https://github.com/browserbase/stagehand/pull/1012) [`9e8c173`](https://github.com/browserbase/stagehand/commit/9e8c17374fdc8fbe7f26e6cf802c36bd14f11039) Thanks [@miguelg719](https://github.com/miguelg719)! - Fix disabling api validation whenever a customLLM client is provided Low8/27/2025
@browserbasehq/stagehand@2.4.3### Patch Changes - [#951](https://github.com/browserbase/stagehand/pull/951) [`f45afdc`](https://github.com/browserbase/stagehand/commit/f45afdccc8680650755fee66ffbeac32b41e075d) Thanks [@miguelg719](https://github.com/miguelg719)! - Patch GPT-5 new api format - [#954](https://github.com/browserbase/stagehand/pull/954) [`261bba4`](https://github.com/browserbase/stagehand/commit/261bba43fa79ac3af95328e673ef3e9fced3279b) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - add suppoLow8/19/2025
@browserbasehq/stagehand@2.4.2### Patch Changes - [#865](https://github.com/browserbase/stagehand/pull/865) [`6b4e6e3`](https://github.com/browserbase/stagehand/commit/6b4e6e3f31d5496cf15728e9018eddeb04839542) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - improve type safety for trimTrailingTextNode - [#897](https://github.com/browserbase/stagehand/pull/897) [`e77d018`](https://github.com/browserbase/stagehand/commit/e77d0188683ebf596dfb78dfafbbca1dc32993f0) Thanks [@miguelg719](https://github.com/miguelLow7/31/2025
@browserbasehq/stagehand@2.4.1### Patch Changes - [#856](https://github.com/browserbase/stagehand/pull/856) [`8a43c5a`](https://github.com/browserbase/stagehand/commit/8a43c5a86d4da40cfaedd9cf2e42186928bdf946) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - set download behaviour by default - [#857](https://github.com/browserbase/stagehand/pull/857) [`890ffcc`](https://github.com/browserbase/stagehand/commit/890ffccac5e0a60ade64a46eb550c981ffb3e84a) Thanks [@miguelg719](https://github.com/miguelg719)! - reLow7/4/2025
@browserbasehq/stagehand@2.4.0### Minor Changes - [#819](https://github.com/browserbase/stagehand/pull/819) [`6a18c1e`](https://github.com/browserbase/stagehand/commit/6a18c1ee1e46d55c6e90c4d5572e17ed8daa140c) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - try playwright click and fall back to JS click event ### Patch Changes - [#826](https://github.com/browserbase/stagehand/pull/826) [`124e0d3`](https://github.com/browserbase/stagehand/commit/124e0d3bb54ddb6738ede6d7aa99a945ef1cacd1) Thanks [@seanmcguirLow6/25/2025
@browserbasehq/stagehand@2.3.1### Patch Changes - [#796](https://github.com/browserbase/stagehand/pull/796) [`12a99b3`](https://github.com/browserbase/stagehand/commit/12a99b398d8a4c3eea3ca69a3cf793faaaf4aea3) Thanks [@miguelg719](https://github.com/miguelg719)! - Added a experimental flag to enable the newest and most experimental features - [#807](https://github.com/browserbase/stagehand/pull/807) [`2451797`](https://github.com/browserbase/stagehand/commit/2451797f64c0efa4a72fd70265110003c8d0a6cd) Thanks [@seanmcguirLow6/17/2025
@browserbasehq/stagehand@2.3.0### Minor Changes - [#737](https://github.com/browserbase/stagehand/pull/737) [`6ef6073`](https://github.com/browserbase/stagehand/commit/6ef60730cab0ad9025f44b6eeb2c83751d1dcd35) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - deprecate useTextExtract and remove functionality ### Patch Changes - [#741](https://github.com/browserbase/stagehand/pull/741) [`5680d25`](https://github.com/browserbase/stagehand/commit/5680d2509352c383ad502c9f4fabde01fa638833) Thanks [@seanmcguire12Low6/3/2025
@browserbasehq/stagehand@2.2.1### Patch Changes - [#721](https://github.com/browserbase/stagehand/pull/721) [`be8652e`](https://github.com/browserbase/stagehand/commit/be8652e770b57fdb3299fa0b2efa4eb0e816434e) Thanks [@miguelg719](https://github.com/miguelg719)! - Fix stagehand.close() functionality to include calling browser.close() - [#724](https://github.com/browserbase/stagehand/pull/724) [`6b413b7`](https://github.com/browserbase/stagehand/commit/6b413b7ad00b13ca0bd53ee2e7393023821408b6) Thanks [@seanmcguire12](htLow5/6/2025
v2.2.0### Minor Changes - [#655](https://github.com/browserbase/stagehand/pull/655) [`8814af9`](https://github.com/browserbase/stagehand/commit/8814af9ece99fddc3dd9fb32671d0513a3a00c67) Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - extract links - [#675](https://github.com/browserbase/stagehand/pull/675) [`35c55eb`](https://github.com/browserbase/stagehand/commit/35c55ebf6c2867801a0a6f6988a883c8cb90cf9a) Thanks [@tkattkat](https://github.com/tkattkat)! - Added Gemini 2.5 Flash to Low4/30/2025
v2.1.0### Minor Changes - [#659](https://github.com/browserbase/stagehand/pull/659) [`f9a435e`](https://github.com/browserbase/stagehand/commit/f9a435e938daccfb2e54ca23fad8ef75128a4486) Thanks [@miguelg719](https://github.com/miguelg719)! - Added native support for Google Generative models (Gemini) ### Patch Changes - [#647](https://github.com/browserbase/stagehand/pull/647) [`ca5467d`](https://github.com/browserbase/stagehand/commit/ca5467de7d31bfb270b6b625224a926c52c97900) Thanks [@seanmcguirLow4/11/2025
v2.0.0### Major Changes - [#591](https://github.com/browserbase/stagehand/pull/591) [`e234a0f`](https://github.com/browserbase/stagehand/commit/e234a0f80bf4c07bcc57265da216cbc4ab3bd19d) Thanks [@miguelg719](https://github.com/miguelg719)! - Announcing **Stagehand 2.0**! 🎉 We're thrilled to announce the release of Stagehand 2.0, bringing significant improvements to make browser automation more powerful, faster, and easier to use than ever before. ### 🚀 New Features - **IntroducingLow3/31/2025
v1.14.0### Minor Changes - [#518](https://github.com/browserbase/stagehand/pull/518) [`516725f`](https://github.com/browserbase/stagehand/commit/516725fc1c5d12d22caac0078a118c77bfe033a8) Thanks [@sameelarif](https://github.com/sameelarif)! - `act()` can now use `observe()` under the hood, resulting in significant performance improvements. To opt-in to this change, set `slowDomBasedAct: false` in `ActOptions`. - [#483](https://github.com/browserbase/stagehand/pull/483) [`8c9445f`](https://github.cLow3/5/2025
v1.13.1### Patch Changes - [#509](https://github.com/browserbase/stagehand/pull/509) [`a7d345e`](https://github.com/browserbase/stagehand/commit/a7d345e75434aebb656e1aa5aa61caed00dc99a8) Thanks [@miguelg719](https://github.com/miguelg719)! - Bun runs will now throw a more informed error Low2/24/2025
v1.13.0### Minor Changes - [#486](https://github.com/browserbase/stagehand/pull/486) [`33f2b3f`](https://github.com/browserbase/stagehand/commit/33f2b3f8deff86ac2073b6d35b7413b0aeaba2f9) Thanks [@sameelarif](https://github.com/sameelarif)! - [Unreleased] Parameterized offloading Stagehand method calls to the Stagehand API. In the future, this will allow for better observability and debugging experience. - [#494](https://github.com/browserbase/stagehand/pull/494) [`9ba4b0b`](https://github.com/broLow2/20/2025
v1.12.0### Minor Changes - [#426](https://github.com/browserbase/stagehand/pull/426) [`bbbcee7`](https://github.com/browserbase/stagehand/commit/bbbcee7e7d86f5bf90cbb93f2ac9ad5935f15896) Thanks [@miguelg719](https://github.com/miguelg719)! - Observe got a major upgrade. Now it will return a suggested playwright method with any necessary arguments for the generated candidate elements. It also includes a major speedup when using a11y tree processing for context. - [#452](https://github.com/browserbLow2/6/2025
v1.10.1### Patch Changes - [#422](https://github.com/browserbase/stagehand/pull/422) [`a2878d0`](https://github.com/browserbase/stagehand/commit/a2878d0acaf393b37763fb0c07b1a24043f7eb8d) Thanks [@miguelg719](https://github.com/miguelg719)! - Fixing a build type error for async functions being called inside evaulate for observeHandler. Low1/21/2025
v1.10.0### Minor Changes - [#412](https://github.com/browserbase/stagehand/pull/412) [`4aa4813`](https://github.com/browserbase/stagehand/commit/4aa4813ad62cefc333a04ea6b1004f5888dec70f) Thanks [@miguelg719](https://github.com/miguelg719)! - Includes a new format to get website context using accessibility (a11y) trees. The new context is provided optionally with the flag useAccessibilityTree for observe tasks. - [#417](https://github.com/browserbase/stagehand/pull/417) [`1f2b2c5`](https://github.Low1/21/2025
v1.9.0### Minor Changes - [#374](https://github.com/browserbase/stagehand/pull/374) [`207244e`](https://github.com/browserbase/stagehand/commit/207244e3a46c4474d4d28db039eab131164790ca) Thanks [@sameelarif](https://github.com/sameelarif)! - Pass in a Stagehand Page object into the `on("popup")` listener to allow for multi-page handling. - [#367](https://github.com/browserbase/stagehand/pull/367) [`75c0e20`](https://github.com/browserbase/stagehand/commit/75c0e20cde54951399753e0fa841df463e1271b8)Low1/8/2025
v1.8.0### Minor Changes - [#324](https://github.com/browserbase/stagehand/pull/324) [`cd23fa3`](https://github.com/browserbase/stagehand/commit/cd23fa33450107f29cb1ddb6edadfc769d336aa5) Thanks [@kamath](https://github.com/kamath)! - Move stagehand.act() -> stagehand.page.act() and deprecate stagehand.act() - [#319](https://github.com/browserbase/stagehand/pull/319) [`bacbe60`](https://github.com/browserbase/stagehand/commit/bacbe608058304bfa1f0ab049da4d8aa90e8d6f7) Thanks [@kamath](https://githuLow12/24/2024
v1.7.0### Minor Changes - [#316](https://github.com/browserbase/stagehand/pull/316) [`902e633`](https://github.com/browserbase/stagehand/commit/902e633e126a58b80b757ea0ecada01a7675a473) Thanks [@kamath](https://github.com/kamath)! - rename browserbaseResumeSessionID -> browserbaseSessionID - [#296](https://github.com/browserbase/stagehand/pull/296) [`f11da27`](https://github.com/browserbase/stagehand/commit/f11da27a20409c240ceeea2003d520f676def61a) Thanks [@kamath](https://github.com/kamath)! - Low12/17/2024
v1.6.0### Minor Changes https://github.com/browserbase/stagehand/pull/279 [d6d7057](https://github.com/browserbase/stagehand/commit/d6d70570623a718354797ef83aa8489eacc085d1) Thanks [@navidkpr](https://github.com/navidkpr), [@sameelarif](https://github.com/sameelarif), [@kamath](https://github.com/kamath)! - Add support for o1-mini and o1-preview in OpenAIClient https://github.com/browserbase/stagehand/pull/282 [5291797](https://github.com/browserbase/stagehand/commit/529179724a53bf2fd578a4012fd6bcLow12/10/2024
v1.5.0### Minor Changes - [#266](https://github.com/browserbase/stagehand/pull/266) [`0e8f34f`](https://github.com/browserbase/stagehand/commit/0e8f34fc15aee91c548d09534deaccc8adca7c4d) Thanks [@kamath](https://github.com/kamath)! - Install wasn't working from NPM due to misconfigured build step. This attempts to fix that. Low12/3/2024
v1.4.0### Minor Changes - [#253](https://github.com/browserbase/stagehand/pull/253) [`598cae2`](https://github.com/browserbase/stagehand/commit/598cae230c7b8d4e31ae22fd63047a91b63e51b8) Thanks [@sameelarif](https://github.com/sameelarif)! - clean up contexts after use ### Patch Changes - [#225](https://github.com/browserbase/stagehand/pull/225) [`a2366fe`](https://github.com/browserbase/stagehand/commit/a2366feb023180fbb2ccc7a8379692f9f8347fe5) Thanks [@sameelarif](https://github.com/sameelarifLow12/3/2024

Dependencies & License Audit

Loading dependencies...

Similar Packages

MediaWiki-MCP-ServerModel Context Protocol (MCP) Server to connect your AI with any MediaWikiv0.10.0
AutoRedactđŸ›Ąī¸ Redact sensitive information from images securely in your browser with AutoRedact, featuring automatic detection and local processing for privacy.main@2026-06-06
hyperframesWrite HTML. Render video. Built for agents.v0.6.76
simBuild, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.v0.6.103
studioOpen-source control plane for your AI agents. Connect tools, hire agents, track every token and dollarv2.396.1

More in Uncategorized

modal-clientSDK libraries for Modal
gh-aw-firewallGitHub Agentic Workflows Firewall
llama.cppLLM inference in C/C++