# stagehand-python@4.2.0a0.dev1535

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

## Human Summary
Stagehand Python release 4.2.0a0.dev1535 fixes an issue when resolving deep XPaths across iframes by properly waiting for the locator world.

## Agent Summary
Browserbase Stagehand released stagehand-python@4.2.0a0.dev1535, introducing a fix that waits for the locator world during deep XPath traversal across iframes.

## Body
Browserbase published pre-release stagehand-python@4.2.0a0.dev1535. The release notes specify a single fix addressing cross-iframe locator handling: ensuring the locator world is waited for when a deep XPath crosses an iframe.

## Recommended actions
- Upgrade to stagehand-python@4.2.0a0.dev1535 if encountering issues with deep XPath lookups traversing iframes.

## 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.