# stagehand-python@4.2.0a0.dev1591: fix : use progress tracker in waitForSelector() ( 3146)

Category: open-source
Published: 2026-10-08T21:25:14Z
Source: [Browserbase Stagehand releases](https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.2.0a0.dev1591)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-10T06:17:39.011Z
Tags: browserbase, browser-agent, automation

## Human Summary
Browserbase Stagehand releases published stagehand-python@4.2.0a0.dev1591: fix : use progress tracker in waitForSelector() ( 3146). why waitForSelector() did not include frame resolution or locator world readiness in its timeout. time spent preparing or retrying the browser wait was not deducted from its timeout. the browser helper also turned zero into a…

## Agent Summary
Treat stagehand-python@4.2.0a0.dev1591: fix : use progress tracker in waitForSelector() ( 3146) 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.dev1591: fix : use progress tracker in waitForSelector() ( 3146). This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: why waitForSelector() did not include frame resolution or locator world readiness in its timeout. time spent preparing or retrying the browser wait was not deducted from its timeout. the browser helper also turned zero into a fresh 30-second wait, & could keep watching the page after the caller timed out. what changed gave selector waits one shared deadline across frame resolution, locator-world readiness, & the element wait. internal calls reuse their parent's remaining time without taking ownership of its progress. calculated the browser timeout immediately before dispatch, including retries after a lost execution context. expired calls cannot start another wait. kept the 30-second default & made explicit 0 unlimited throughout the wait. gave each browser wait a disposable handle. completion, timeout, & failure release its observers, timers, DOM-ready listener, & remote reference.…

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