Skip to content

stagehand-python@4.4.0

@github-actions github-actions tagged this 04 Nov 17:01
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @browserbasehq/stagehand@4.4.0

### Minor Changes

- [#3305](https://github.com/browserbase/stagehand/pull/3305)
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1)
Thanks [@miguelg719](https://github.com/miguelg719)! - add
`browser.disconnect()`, which closes an attached Stagehand instance and
the connection to a browser without closing the browser or releasing its
Browserbase session (Browserbase still ends sessions without `keepAlive`
on disconnect). `browser.close()` after `disconnect()` now throws
(connect again to close the browser), a launched local browser receives
`Browser.close` before it is terminated, browser handles expose `cdpUrl`
(`cdp_url` in Python) for local browsers, and `connected` reports
whether the handle still has a live connection

- [#3325](https://github.com/browserbase/stagehand/pull/3325)
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)
Thanks [@miguelg719](https://github.com/miguelg719)! - Add an extension
watchdog for lost SDK clients

### Patch Changes

- [#3339](https://github.com/browserbase/stagehand/pull/3339)
[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Adopt
cross-origin iframes that were already loaded when Stagehand attached,
or that are nested inside another cross-origin iframe, so snapshots and
actions can reach them.

- [#3330](https://github.com/browserbase/stagehand/pull/3330)
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to
4.6.6

- [#3340](https://github.com/browserbase/stagehand/pull/3340)
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086)
Thanks [@akeimach](https://github.com/akeimach)! - Fix act, observe and
extract with Claude Opus 5.5 by bumping `@ai-sdk/anthropic` and `ai` in
the extension.

- [#3387](https://github.com/browserbase/stagehand/pull/3387)
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fixed
domain policy bypasses involving URLs with credentials, background
requests, and speculative page loads

- [#3383](https://github.com/browserbase/stagehand/pull/3383)
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - skip
variable substitution for drag-and-drop arguments in act().

- [#3388](https://github.com/browserbase/stagehand/pull/3388)
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fix issue
where calling act() prevents cross-origin iframes from loading
## @browserbasehq/eve@0.2.3

### Patch Changes

- [#3330](https://github.com/browserbase/stagehand/pull/3330)
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to
4.6.6

- [#3350](https://github.com/browserbase/stagehand/pull/3350)
[`b7a4b89`](https://github.com/browserbase/stagehand/commit/b7a4b899079f198a0ee78a6dcb62ad02f545cf49)
Thanks [@miguelg719](https://github.com/miguelg719)! - Save run
screenshots only as PNG or JPEG files, under ./stagehand-artifacts by
default

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
## @browserbasehq/stagehand-extension@1.3.0

### Minor Changes

- [#3325](https://github.com/browserbase/stagehand/pull/3325)
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)
Thanks [@miguelg719](https://github.com/miguelg719)! - Add an extension
watchdog for lost SDK clients

### Patch Changes

- [#3339](https://github.com/browserbase/stagehand/pull/3339)
[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Adopt
cross-origin iframes that were already loaded when Stagehand attached,
or that are nested inside another cross-origin iframe, so snapshots and
actions can reach them.

- [#3330](https://github.com/browserbase/stagehand/pull/3330)
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to
4.6.6

- [#3340](https://github.com/browserbase/stagehand/pull/3340)
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086)
Thanks [@akeimach](https://github.com/akeimach)! - Fix act, observe and
extract with Claude Opus 5.5 by bumping `@ai-sdk/anthropic` and `ai` in
the extension.

- [#3387](https://github.com/browserbase/stagehand/pull/3387)
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fixed
domain policy bypasses involving URLs with credentials, background
requests, and speculative page loads

- [#3383](https://github.com/browserbase/stagehand/pull/3383)
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - skip
variable substitution for drag-and-drop arguments in act().

- [#3388](https://github.com/browserbase/stagehand/pull/3388)
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fix issue
where calling act() prevents cross-origin iframes from loading
## @browserbasehq/stagehand-python@4.4.0

### Minor Changes

- [#3305](https://github.com/browserbase/stagehand/pull/3305)
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1)
Thanks [@miguelg719](https://github.com/miguelg719)! - add
`browser.disconnect()`, which closes an attached Stagehand instance and
the connection to a browser without closing the browser or releasing its
Browserbase session (Browserbase still ends sessions without `keepAlive`
on disconnect). `browser.close()` after `disconnect()` now throws
(connect again to close the browser), a launched local browser receives
`Browser.close` before it is terminated, browser handles expose `cdpUrl`
(`cdp_url` in Python) for local browsers, and `connected` reports
whether the handle still has a live connection

- [#3325](https://github.com/browserbase/stagehand/pull/3325)
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)
Thanks [@miguelg719](https://github.com/miguelg719)! - Add an extension
watchdog for lost SDK clients

### Patch Changes

- [#3339](https://github.com/browserbase/stagehand/pull/3339)
[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Adopt
cross-origin iframes that were already loaded when Stagehand attached,
or that are nested inside another cross-origin iframe, so snapshots and
actions can reach them.

- [#3330](https://github.com/browserbase/stagehand/pull/3330)
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to
4.6.6

- [#3340](https://github.com/browserbase/stagehand/pull/3340)
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086)
Thanks [@akeimach](https://github.com/akeimach)! - Fix act, observe and
extract with Claude Opus 5.5 by bumping `@ai-sdk/anthropic` and `ai` in
the extension.

- [#3387](https://github.com/browserbase/stagehand/pull/3387)
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fixed
domain policy bypasses involving URLs with credentials, background
requests, and speculative page loads

- [#3383](https://github.com/browserbase/stagehand/pull/3383)
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - skip
variable substitution for drag-and-drop arguments in act().

- [#3388](https://github.com/browserbase/stagehand/pull/3388)
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - fix issue
where calling act() prevents cross-origin iframes from loading
## @browserbasehq/stagehand-examples@0.0.4

### Patch Changes

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-claude-agent-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
##
@browserbasehq/stagehand-integrations-example-claude-code-facade@4.0.7

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
  - @browserbasehq/stagehand-integrations-claude-agent-sdk@4.0.6
## @browserbasehq/stagehand-integrations-claude-cua-sdk@4.0.5

### Patch Changes

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-example-codex-facade@4.0.7

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
  - @browserbasehq/stagehand-integrations-codex-sdk@4.0.6
## @browserbasehq/stagehand-integrations-codex-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations@4.0.7

### Patch Changes

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
## @browserbasehq/stagehand-integrations-example-cursor-facade@4.0.5

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
  - @browserbasehq/stagehand-integrations-cursor-sdk@4.0.6
## @browserbasehq/stagehand-integrations-cursor-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-deepagents-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-eve-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-fx-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-gemini-cua-sdk@4.0.5

### Patch Changes

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-example-mastra-facade@4.0.7

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-mastra-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-example-pi-facade@4.0.7

### Patch Changes

- Updated dependencies
[[`44d99df`](https://github.com/browserbase/stagehand/commit/44d99dfbdd24baaf06986492792348582266d8f0),
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91),
[`edb76b0`](https://github.com/browserbase/stagehand/commit/edb76b0e867790132c2e51f3f34027b950463086),
[`066e875`](https://github.com/browserbase/stagehand/commit/066e875c00af1cce5c60845cbf9d620fe69a911f),
[`1e50db6`](https://github.com/browserbase/stagehand/commit/1e50db680f0429b3fb96e0519cb6d9de8c4640a5),
[`aeb1ba0`](https://github.com/browserbase/stagehand/commit/aeb1ba0d27d08e1d653db3e73c042928e27f33b1),
[`18b96f2`](https://github.com/browserbase/stagehand/commit/18b96f2227505695795208d7163e4fb03a9ae401),
[`d59afde`](https://github.com/browserbase/stagehand/commit/d59afde37e995b165a41f754a12a446f11d471a2)]:
  - @browserbasehq/stagehand@4.4.0
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-pi-sdk@4.0.6

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-integrations-example-vercel-ai-facade@4.0.7

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/stagehand-integrations@4.0.7
## @browserbasehq/stagehand-protocol@3.1.1

### Patch Changes

- [#3330](https://github.com/browserbase/stagehand/pull/3330)
[`dc8eb40`](https://github.com/browserbase/stagehand/commit/dc8eb408c461e1c3421fbbc452fa3b189146da91)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - bump zod to
4.6.6

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Assets 2
Loading