# stagehand-python@4.2.0a0.dev1529: refactor(cli): remove coordinate XPath return flag ( 2835)

Category: open-source
Published: 2026-09-22T21:57:26Z
Source: [Browserbase Stagehand releases](https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.2.0a0.dev1529)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-23T06:17:39.909Z
Tags: browserbase, browser-agent, automation

## Human Summary
Browserbase Stagehand releases published stagehand-python@4.2.0a0.dev1529: refactor(cli): remove coordinate XPath return flag ( 2835). Summary Remove the unsupported --return-xpath option from Browse's coordinate click, hover, scroll, and drag commands. The CLI rejects the flag, and strict driver schemas reject stale returnXPath payloads before performing a…

## Agent Summary
Treat stagehand-python@4.2.0a0.dev1529: refactor(cli): remove coordinate XPath return flag ( 2835) as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.

## Body
Browserbase Stagehand releases published stagehand-python@4.2.0a0.dev1529: refactor(cli): remove coordinate XPath return flag ( 2835). This release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: Summary Remove the unsupported --return-xpath option from Browse's coordinate click, hover, scroll, and drag commands. The CLI rejects the flag, and strict driver schemas reject stale returnXPath payloads before performing a mouse action. Update the examples and the Browse minor changeset for the V4 migration and flag removal. XPath selectors and snapshot xpathMap remain supported. Scope The cursor overlay ( 2869 ) and network sidecar ( 2849 ) are already merged into main . This branch includes the final parent and reconciles its squash merge, preserving the current cursor fixes. The final diff against main is 8 files, +17/−62 , limited to the XPath flag removal, documentation, removal of the obsolete XPath test, and release metadata. Validation At db5e592ce4359e1340ef4e921aad4b98581ee94a : focused driver-command suite 28 tests passed with an isolated daemon directory; changed-file…

## Recommended actions
- Review the official Browserbase Stagehand releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.