Stagehand is a browser automation SDK built for the AI era, designed to make controlling a browser easy for both developers and LLMs. It uniquely bridges the gap between legacy frameworks and pure browser agents, offering the predictability of code with the adaptability of AI. This approach results in automation that is smarter than Selenium and safer than a standalone agent. Write your automation logic once, and it will reliably run anywhere, as Stagehand is designed to be self-healing against website changes.
Key features include:
page.act("add the first cookie to cart")
.