---
title: "@browserbasehq/stagehand 4.4.0 Breaking Changes on npm"
description: "What each @browserbasehq/stagehand release removed, renamed or changed: 694 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@browserbasehq/stagehand
last_updated: 2026-12-04
---

# @browserbasehq/stagehand breaking changes

@browserbasehq/stagehand 4.4.0 (November 4, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed act. Every breaking API change we have recorded in @browserbasehq/stagehand on npm: 694 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.5.0`, released November 25, 2026. [Source repository](https://github.com/browserbase/stagehand)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.7.4](#v-3-7-4) to [4.4.0](#v-4-4-0): 673 breaking changes in 7 versions.
- From [3.7.0](#v-3-7-0) to [4.4.0](#v-4-4-0): 690 breaking changes in 10 versions.

## @browserbasehq/stagehand 4.4.0 breaking changes

@browserbasehq/stagehand 4.4.0, released November 4, 2026: 3 breaking changes.

- **Behavior changed** `act`  

Variable substitution is skipped for drag-and-drop arguments passed to act(). Code that relied on substitution in those arguments must pass the final values directly. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.4.0/CHANGELOG.md)
- **Behavior changed** `browser.close`  

After disconnect(), calling browser.close() throws, so reconnect before closing. A launched local browser now receives Browser.close before it is terminated. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.4.0/CHANGELOG.md)
- **Signature changed** `LocalBrowserConnectOptionsSchema`  

Was const LocalBrowserConnectOptionsSchema: z.ZodObject<{cdpUrl: z.ZodString; headers: z.ZodOptional\<z.ZodPreprocess\<z.ZodRecord\<z.ZodString, z.ZodString>>>; extensionId: z.ZodOptional\<z.ZodString>; extensionCdpUrl... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.4.0)

## @browserbasehq/stagehand 4.3.0 breaking changes

@browserbasehq/stagehand 4.3.0, released October 20, 2026: 6 breaking changes.

- **Behavior changed**  

Browserbase Model Gateway and cache requests are now routed through the connected SDK, which changes how these requests are sent. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.3.0/CHANGELOG.md)
- **Default changed**  

Local Chromium versions newer than 157 now enable WebMCP by default. Code that depends on WebMCP being off must disable it explicitly. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.3.0/CHANGELOG.md)
- **Configuration changed**  

Browserbase Model Gateway and cache requests now require client transport. Code that relied on the previous transport setup must be updated. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.3.0/CHANGELOG.md)
- **Signature changed** `LocalBrowserConnectOptionsSchema`  

Was const LocalBrowserConnectOptionsSchema: z.ZodObject<{cdpUrl: z.ZodString; extensionId: z.ZodOptional\<z.ZodString>;}, z.core.$strict>; now const LocalBrowserConnectOptionsSchema: z.ZodObject<{cdpUrl: z.ZodString; headers... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.3.0)
- **Signature changed** `StagehandClientCreateConfigSchema`  

Was const StagehandClientCreateConfigSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.3.0)
- **Signature changed** `StagehandCreateOptionsSchema`  

Was const StagehandCreateOptionsSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.3.0)

## @browserbasehq/stagehand 4.2.1 breaking changes

@browserbasehq/stagehand 4.2.1, released October 11, 2026: 3 breaking changes.

- **Behavior changed**  

The TypeScript SDK now rejects empty or whitespace-containing model IDs, which were previously accepted. Make sure configured model IDs contain no spaces and are not empty. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.2.1/CHANGELOG.md)
- **Signature changed** `StagehandClientCreateConfigSchema`  

Was const StagehandClientCreateConfigSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.1)
- **Signature changed** `StagehandCreateOptionsSchema`  

Was const StagehandCreateOptionsSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.1)

## @browserbasehq/stagehand 4.2.0 breaking changes

@browserbasehq/stagehand 4.2.0, released October 8, 2026: 18 breaking changes.

- **Signature changed** `BrowserbaseConnectOptions`  

Was type BrowserbaseConnectOptions = z.input\<typeof BrowserbaseConnectOptionsSchema>; now interface BrowserbaseConnectOptions extends z.input\<typeof BrowserbaseConnectOptionsSchema>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `BrowserbaseConnectOptionsSchema`  

Was const BrowserbaseConnectOptionsSchema: z.ZodObject<{apiKey: z.ZodString; baseUrl: z.ZodDefault\<z.ZodURL>; sessionId: z.ZodString; extensionId: z.ZodOptional\<z.ZodString>;}, z.core.$strict>; now const BrowserbaseConnectOptionsSchema... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `LocalBrowserConnectOptions`  

Was type LocalBrowserConnectOptions = z.infer\<typeof LocalBrowserConnectOptionsSchema>; now interface LocalBrowserConnectOptions extends z.infer\<typeof LocalBrowserConnectOptionsSchema>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.centroid`  

Was centroid(): Promise\<LocatorCentroidResult>; now centroid(options?: LocatorOptions): Promise\<LocatorCentroidResult>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.count`  

Was count(): Promise\<number>; now count(options?: LocatorOptions): Promise\<number>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.fill`  

Was fill(value: string): Promise\<void>; now fill(value: string, options?: LocatorOptions): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.hover`  

Was hover(): Promise\<void>; now hover(options?: LocatorOptions): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.innerHtml`  

Was innerHtml(): Promise\<string>; now innerHtml(options?: LocatorOptions): Promise\<string>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.innerText`  

Was innerText(): Promise\<string>; now innerText(options?: LocatorOptions): Promise\<string>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)
- **Signature changed** `Locator.inputValue`  

Was inputValue(): Promise\<string>; now inputValue(options?: LocatorOptions): Promise\<string>. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.2.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @browserbasehq/stagehand 4.1.0 breaking changes

@browserbasehq/stagehand 4.1.0, released September 9, 2026: 19 breaking changes.

- **Removed**  

The redundant image type was removed from page screenshot protocol responses, so code reading that field may break. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)
- **Removed** `IncompatibleRuntimeCompatibility`  

IncompatibleRuntimeCompatibility was removed in @browserbasehq/stagehand 4.1.0 [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.1.0)
- **Removed** `StagehandRuntimeIncompatibleError.extensionProtocolVersion`  

StagehandRuntimeIncompatibleError.extensionProtocolVersion was removed in @browserbasehq/stagehand 4.1.0 [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.1.0)
- **Removed** `StagehandRuntimeIncompatibleError.extensionServerInfo`  

StagehandRuntimeIncompatibleError.extensionServerInfo was removed in @browserbasehq/stagehand 4.1.0 [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.1.0)
- **Renamed** `ReportedRuntime`  

Use ReportedRuntimeDescriptor instead. [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.1.0)
- **Behavior changed**  

Python and Go SDKs now reject local Chrome debugging ports that are already in use instead of proceeding. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)
- **Behavior changed**  

Protocol compatibility errors are now raised immediately instead of later on. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)
- **Behavior changed** `browser.close`  

browser.close() and browser.context.close() now always terminate the browser even when keepAlive is set. Code relying on keepAlive to keep the browser running after close must change. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)
- **Behavior changed** `browserbase.connect`  

browserbase.connect() now throws immediately when the extension is not present rather than failing later. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)
- **Behavior changed** `stagehand.close`  

stagehand.close() now keeps the browser running so another Stagehand instance can attach later, instead of closing it. [github.com](https://github.com/browserbase/stagehand/blob/@browserbasehq/stagehand@4.1.0/CHANGELOG.md)

And 9 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @browserbasehq/stagehand 4.0.1 breaking changes

@browserbasehq/stagehand 4.0.1, released August 14, 2026: 2 breaking changes.

- **Signature changed** `StagehandClientCreateConfigSchema`  

Was const StagehandClientCreateConfigSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.0.1)
- **Signature changed** `StagehandCreateOptionsSchema`  

Was const StagehandCreateOptionsSchema: z.ZodObject<{apiKey: z.ZodOptional\<z.ZodString>; systemPrompt: z.ZodOptional\<z.ZodString>; cache: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodBoolean, z.ZodObject<{threshold... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.0.1)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @browserbasehq/stagehand 4.0.0 breaking changes

@browserbasehq/stagehand 4.0.0, released August 10, 2026: 622 breaking changes.

- **Removed** `__internalCreateInMemoryAgentCacheHandle`  

\_\_internalCreateInMemoryAgentCacheHandle was removed in @browserbasehq/stagehand 4.0.0 [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.0.0)
- **Removed** `__internalMaybeRunShutdownSupervisorFromArgv`  

\_\_internalMaybeRunShutdownSupervisorFromArgv was removed in @browserbasehq/stagehand 4.0.0 [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/4.0.0)

And 620 more in this version.

### @browserbasehq/stagehand 3.7.4 breaking changes

@browserbasehq/stagehand 3.7.4, released November 18, 2026: 4 breaking changes.

- **Signature changed** `Api.BrowserbaseBrowserSettingsSchema`  

Was const BrowserbaseBrowserSettingsSchema: z.ZodObject<{advancedStealth: z.ZodOptional\<z.ZodBoolean>; blockAds: z.ZodOptional\<z.ZodBoolean>; captchaImageSelector: z.ZodOptional\<z.ZodString>; captchaInputSelector... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.4)
- **Signature changed** `Api.BrowserbaseFingerprintSchema`  

Was const BrowserbaseFingerprintSchema: z.ZodObject<{browsers: z.ZodOptional\<z.ZodArray\<z.ZodEnum<{chrome: "chrome"; edge: "edge"; firefox: "firefox"; safari: "safari";}>>>; devices: z.ZodOptional\<z.ZodArray\<z.ZodEnum<{desktop: "desktop"... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.4)

And 2 more in this version.

### @browserbasehq/stagehand 3.7.2 breaking changes

@browserbasehq/stagehand 3.7.2, released August 20, 2026: 1 breaking change.

- **Signature changed** `Api.SessionStartRequestSchema`  

Was const SessionStartRequestSchema: z.ZodObject<{modelName: z.ZodString; domSettleTimeoutMs: z.ZodOptional\<z.ZodNumber>; verbose: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>\]>>; systemPrompt... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.2)

### @browserbasehq/stagehand 3.7.1 breaking changes

@browserbasehq/stagehand 3.7.1, released July 22, 2026: 12 breaking changes.

- **Signature changed** `Api.ActOptionsSchema`  

Was const ActOptionsSchema: z.ZodOptional\<z.ZodObject<{model: z.ZodOptional\<z.ZodUnion\<readonly \[z.ZodUnion\<readonly \[z.ZodObject<{modelName: z.ZodString; apiKey: z.ZodOptional\<z.ZodString>; baseURL: z.ZodOptional\<z.ZodString>; headers... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.1)
- **Signature changed** `Api.ActRequestSchema`  

Was const ActRequestSchema: z.ZodObject<{input: z.ZodUnion<\[z.ZodString, z.ZodObject<{selector: z.ZodString; description: z.ZodString; backendNodeId: z.ZodOptional\<z.ZodNumber>; method: z.ZodOptional\<z.ZodString>; arguments... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.1)

And 10 more in this version.

### @browserbasehq/stagehand 3.7.0 breaking changes

@browserbasehq/stagehand 3.7.0, released July 13, 2026: 4 breaking changes.

- **Signature changed** `AVAILABLE_CUA_MODELS`  

Was const AVAILABLE_CUA_MODELS: readonly \["openai/gpt-5.4", "openai/gpt-5.4-mini", "openai/gpt-5.5", "openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "anthropic/claude-opus-4-5-20251101"... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.0)
- **Signature changed** `default`  

Was const StagehandDefault: {V3: typeof V3; Stagehand: typeof V3; AnnotatedScreenshotText: string; LLMClient: typeof LLMClient; AgentProvider: typeof AgentProvider; modelToAgentProviderMap: Record\<string, PublicApi.AgentType>... [npmjs.com](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.7.0)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
