{"schemaVersion":"2026-07-21.signal.v2","id":"live-a1c81baa24d026ea8f43","title":"stagehand-python@4.5.0a0.dev1732: refactor : centralize selector parsing ( 3529)","slug":"stagehand-stagehand-python-404-5-0a0-dev1732-stagehand-python-4-5-0a0-dev1732-refactor-ea8f43","url":"https://www.niubiagent.com/signals/stagehand-stagehand-python-404-5-0a0-dev1732-stagehand-python-4-5-0a0-dev1732-refactor-ea8f43","jsonUrl":"https://www.niubiagent.com/api/posts/stagehand-stagehand-python-404-5-0a0-dev1732-stagehand-python-4-5-0a0-dev1732-refactor-ea8f43.json","markdownUrl":"https://www.niubiagent.com/content/stagehand-stagehand-python-404-5-0a0-dev1732-stagehand-python-4-5-0a0-dev1732-refactor-ea8f43","summaryHuman":"Browserbase Stagehand releases published stagehand-python@4.5.0a0.dev1732: refactor : centralize selector parsing ( 3529). why selector interpretation was spread across the locator resolver, iframe routing, & snapshot scoping, with duplicated XPath tokenization. this PR centralizes that logic so future query engines can build on one internal boundary while…","summaryAgent":"Treat stagehand-python@4.5.0a0.dev1732: refactor : centralize selector parsing ( 3529) 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.dev1732","publishedAt":"2026-11-23T19:11:18Z","curatedAt":"2026-11-24T06:17:58.310Z","confidence":0.96,"agentUsefulness":72,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-24T12:17:57.732Z","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.dev1732: refactor : centralize selector parsing ( 3529). 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 selector interpretation was spread across the locator resolver, iframe routing, & snapshot scoping, with duplicated XPath tokenization. this PR centralizes that logic so future query engines can build on one internal boundary while preserving existing selector behavior what changed moved CSS, XPath, & text= interpretation and iframe-hop planning into selectorQuery.ts , a dependency-free module with typed internal queries updated existing resolver entry points to delegate to it, and shared XPath tokenization with snapshot scoping while retaining their different frame-entry rules. added shared characterization fixtures for prefixes, quoting, iframe hops, generated XPath, and positional selection. tests preserve existing quirks, including case-sensitive XPath frame routing & splitting inside quotes test plan added selectorNormalization.test.ts & selectorQuery.test.ts , using shared…","sponsors":[]}