Get Started
Stagehand
Stagehand Agent for browser automation and web interaction
Developer & Infrastructure
Available Tools(7)
navigate
Navigate to a URL in the browser. Only use this tool with URLs you're confident will work and stay up to date. Otherwise use https://google.com as the starting point
extract
Extracts all of the text from the current page.
screenshot
Takes a screenshot of the current page. Use this tool to learn where you are on the page when controlling the browser with Stagehand.
stopSession
Stops the current browser session
act
Performs an action on a web page element. Act actions should be as atomic and specific as possible, i.e. "Click the sign in button" or "Type 'hello' into the search input". AVOID actions that are more than one step.
observe
Observes elements on the web page. Use this tool to observe elements that you can later use in an action.
startSession
Starts a new browser session
Stagehand