Stagehand
App · 8 actions
Automate browser sessions with Stagehand navigation, observation and extraction.
Actions
| Action | What it does |
|---|---|
| Act | Act. |
| End session | End session. |
| Extract | Extract. |
| Get replay | Get replay. |
| Navigate | Navigate. |
| Observe | Observe. |
| Run agent | Run agent. |
| Start session | Start session. |
Act
Act.
Inputs
- Session id
session_idtextRequired - Session id.
- Instruction
instructiontextRequired - Instruction.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}End session
End session.
Inputs
- Session id
session_idtextRequired - Session id.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Extract
Extract.
Inputs
- Session id
session_idtextRequired - Session id.
- Instruction
instructiontext - Instruction.
- Schema
schemaobject - Schema.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Get replay
Get replay.
Inputs
- Session id
session_idtextRequired - Session id.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Navigate
Navigate.
Inputs
- Session id
session_idtextRequired - Session id.
- Url
urltextRequired - Url.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Observe
Observe.
Inputs
- Session id
session_idtextRequired - Session id.
- Instruction
instructiontext - Instruction.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Run agent
Run agent.
Inputs
- Session id
session_idtextRequired - Session id.
- Agent config
agent_configobjectRequired - Agent config.
- Execute options
execute_optionsobjectRequired - Execute options.
Outputs
dataobject- Service response.
Example output
{
"data": {}
}Start session
Start session.
Inputs
- Model name
model_nametextRequired - Model identifier supported by your model provider, for example openai/gpt-4.1.
- System prompt
system_prompttext - System prompt.
- Self heal
self_healtrue/false - Self heal.
- Browserbase session id
browserbase_session_idtext - Browserbase session id.
Outputs
dataobject- Service response.
Example output
{
"data": {
"data": {
"available": false,
"sessionId": "example"
},
"success": false
}
}