Stagehand: New release feat. shadow DOM support

Stagehand TS 2.4.3

Shadow DOM support! Set experimental:true in the Stagehand constructor to try it out

  • Fix for same-process iframes
  • Enabling scrolling within iframes
  • Handle namespaced elements in xpaths
  • Bump Zod to be compatible with v4
  • Patch for new GPT-5 api format

Stagehand Python 0.5.1

  • Shadow DOM support for env="BROWSERBASE" (also requires experimental=True)
  • Multi-tab support! S/o Arun
  • LLM api_base customization! S/o @Sanveer Singh Osahan
  • Fix for stagehand.metrics on Browserbase
  • Fix for agent max_steps parameter
  • Fix for Litellm dependency errors with OpenAI on newer versions
  • Patch automatic download behavior! S/o @Shubhankar
  • Patch for new GPT-5 api format

We're hiring engineers!

Help us build the future of AI Web Infrastructure @ browserbase.com/careers