July 13, 2026
Domain policies in Stagehand 3.7
Stagehand 3.7.0 is live.
Use setDomainPolicy() to allowlist or blocklist the domains your agent can visit. Stagehand automatically closes any popup that tries to violate the policy.
Plus:
- New CUA models:
google/gemini-3.5-flashand the GPT-5.6 family (sol,luna,terra).
Fixes:
- CUA keypress actions now send key combinations as a single chord.
- Malformed UTF-16 snapshot text is repaired before it reaches model prompts.
- Removed a noisy AI SDK warning logged on every hybrid/DOM
agent.execute()call. - Fixed a crash when passing an MCP Client instance into
agent({ integrations }).