Skip to content

Releases: browserbase/stagehand

@browserbasehq/[email protected]

31 Jul 19:35
36cdac1
Compare
Choose a tag to compare

Patch Changes

@browserbasehq/[email protected]

04 Jul 01:04
11b1d41
Compare
Choose a tag to compare

Patch Changes

@browserbasehq/[email protected]

25 Jun 18:25
d7c54d3
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@browserbasehq/[email protected]

17 Jun 03:10
60c7c6a
Compare
Choose a tag to compare

Patch Changes

@browserbasehq/[email protected]

03 Jun 17:06
a2883ed
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@browserbasehq/[email protected]

06 May 22:44
c7424ec
Compare
Choose a tag to compare

Patch Changes

v2.2.0

30 Apr 20:09
1fe71b8
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v2.1.0

11 Apr 18:53
1508819
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v2.0.0

31 Mar 16:43
9e3b088
Compare
Choose a tag to compare

Major Changes

  • #591 e234a0f Thanks @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

    • Introducing stagehand.agent: A powerful new way to integrate SOTA Computer use models or Browserbase's Open Operator into Stagehand with one line of code! Perfect for multi-step workflows and complex interactions. Learn more
    • Lightning-fast act and extract: Major performance improvements to make your automations run significantly faster.
    • Enhanced Logging: Better visibility into what's happening during automation with improved logging and debugging capabilities.
    • Comprehensive Documentation: A completely revamped documentation site with better examples, guides, and best practices.
    • Improved Error Handling: More descriptive errors and better error recovery to help you debug issues faster.

    ๐Ÿ› ๏ธ Developer Experience

    • Better TypeScript Support: Enhanced type definitions and better IDE integration
    • Better Error Messages: Clearer, more actionable error messages to help you debug faster
    • Improved Caching: More reliable action caching for better performance

    We're excited to see what you build with Stagehand 2.0! For questions or support, join our Slack community.

    For more details, check out our documentation.

Minor Changes

  • #588 ba9efc5 Thanks @sameelarif! - Added support for offloading agent tasks to the API.

  • #600 11e015d Thanks @sameelarif! - Added a stagehand.history array which stores an array of act, extract, observe, and goto calls made. Since this history array is stored on the StagehandPage level, it will capture methods even if indirectly called by an agent.

  • #601 1d22604 Thanks @seanmcguire12! - add custom error classes

  • #599 75d8fb3 Thanks @miguelg719! - cleaner logging with pino

  • #609 c92295d Thanks @kamath! - Removed deprecated fields and methods from Stagehand constructor and added cdpUrl to localBrowserLaunchOptions for custom CDP URLs support.

  • #571 73d6736 Thanks @miguelg719! - You can now use Computer Using Agents (CUA) natively in Stagehand for both Anthropic and OpenAI models! This unlocks a brand new frontier of applications for Stagehand users ๐Ÿค˜

  • #619 7b0b996 Thanks @sameelarif! - add disablePino flag to stagehand constructor params

  • #620 566e587 Thanks @kamath! - You can now pass in an OpenAI instance as an llmClient to the Stagehand constructor! This allows you to use Stagehand with any OpenAI-compatible model, like Ollama, Gemini, etc., as well as OpenAI wrappers like Braintrust.

  • #586 c57dc19 Thanks @sameelarif! - Added native Stagehand agentic loop functionality. This allows you to build agentic workflows with a single prompt without using a computer-use model. To try it out, create a stagehand.agent without passing in a provider.

Patch Changes

v1.14.0

05 Mar 17:22
5c2e887
Compare
Choose a tag to compare

Minor Changes

  • #518 516725f Thanks @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 8c9445f Thanks @seanmcguire12! - When using textExtract, you can now do targetted extraction by passing an xpath string into extract via the selector parameter. This limits the dom processing step to a target element, reducing tokens and increasing speed. For example:

    const weatherData = await stagehand.page.extract({
      instruction: "extract the weather data for Sun, Feb 23 at 11PM",
      schema: z.object({
        temperature: z.string(),
        weather_description: z.string(),
        wind: z.string(),
        humidity: z.string(),
        barometer: z.string(),
        visibility: z.string(),
      }),
      modelName,
      useTextExtract,
      selector: xpath, // xpath of the element to extract from
    });
  • #556 499a72d Thanks @kamath! - You can now set a timeout for dom-based stagehand act! Do this in act with timeoutMs as a parameter, or set a global param to actTimeoutMs in Stagehand config.

  • #544 55c9673 Thanks @seanmcguire12! - you can now deterministically get the full text representation of a webpage by calling extract() (with no arguments)

  • #538 d898d5b Thanks @sameelarif! - Added gpt-4.5-preview and claude-3-7-sonnet-latest as supported models.

  • #523 44cf7cc Thanks @kwt00! You can now natively run Cerebras LLMs! cerebras-llama-3.3-70b and cerebras-llama-3.1-8b are now supported models as long as CEREBRAS_API_KEY is set in your environment.

  • #542 cf7fe66 Thanks @sankalpgunturi! You can now natively run Groq LLMs! groq-llama-3.3-70b-versatile and groq-llama-3.3-70b-specdec are now supported models as long as GROQ_API_KEY is set in your environment.

Patch Changes