stagehand-python@4.5.0a0.dev1739: feat : add getByText() ( 3541)
Browserbase Stagehand releases published stagehand-python@4.5.0a0.dev1739: feat : add getByText() ( 3541). why users need to be able to query by text, with typed options for exact matching & scoping this PR adds getByText() in typescript & get by text() in python eg: await page . getByText ( "Save" , { exact : true } ) . click ( ) ; await page . locator (…
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Browserbase Stagehand releases published stagehand-python@4.5.0a0.dev1739: feat : add getByText() ( 3541). 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 users need to be able to query by text, with typed options for exact matching & scoping this PR adds getByText() in typescript & get by text() in python eg: await page . getByText ( "Save" , { exact : true } ) . click ( ) ; await page . locator ( ".card" ) . nth ( 1 ) . getByText ( "Details" ) . click ( ) ; await page . locator ( "iframe checkout" ) . getByText ( "Place order" ) . click ( ) ; what changed added string-only text queries with case-insensitive substring matching by default & case-sensitive equality with exact . both modes normalize whitespace & remove zero-width spaces & soft hyphens from the query & element text. combine text across inline descendants & use button, submit & reset input values. skip script, style, head, template & noscript content. getByText() will prefer matching descendants over ancestors. a matching shadow root's combined text also suppresses its…
可执行摘要
Treat stagehand-python@4.5.0a0.dev1739: feat : add getByText() ( 3541) as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.
- Agent 实用度
- 72/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- 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.