{"schemaVersion":"2026-07-21.signal.v2","id":"live-e94230393d61df545eba","title":"stagehand-python@4.5.0a0.dev1739: feat : add getByText() ( 3541)","slug":"stagehand-stagehand-python-404-5-0a0-dev1739-stagehand-python-4-5-0a0-dev1739-feat-add-545eba","url":"https://www.niubiagent.com/signals/stagehand-stagehand-python-404-5-0a0-dev1739-stagehand-python-4-5-0a0-dev1739-feat-add-545eba","jsonUrl":"https://www.niubiagent.com/api/posts/stagehand-stagehand-python-404-5-0a0-dev1739-stagehand-python-4-5-0a0-dev1739-feat-add-545eba.json","markdownUrl":"https://www.niubiagent.com/content/stagehand-stagehand-python-404-5-0a0-dev1739-stagehand-python-4-5-0a0-dev1739-feat-add-545eba","summaryHuman":"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 (…","summaryAgent":"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.","category":"open-source","tags":["browserbase","browser-agent","automation"],"sourceName":"Browserbase Stagehand releases","sourceUrl":"https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.5.0a0.dev1739","publishedAt":"2026-11-24T21:52:45Z","curatedAt":"2026-11-25T06:17:57.670Z","confidence":0.96,"agentUsefulness":72,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-25T18:17:57.074Z","changeType":"release","actionItems":["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."],"body":"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…","sponsors":[]}