stagehand-cli

module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2025 License: Apache-2.0

README

Stagehand CLI

The official CLI for the Stagehand REST API.

It is generated with Stainless.

Installation

Installing with Go
go install 'github.com/browserbase/stagehand-cli/cmd/stagehand@latest'
Running Locally
go run cmd/stagehand/main.go

Usage

The CLI follows a resource-based command structure:

stagehand [resource] [command] [flags]
stagehand sessions act \
  --id 00000000-your-session-id-000000000000 \
  --input 'click the first link on the page'

For details about specific commands, use the --help flag.

Global Flags

  • --debug - Enable debug logging (includes HTTP request/response details)
  • --version, -v - Show the CLI version

Directories

Path Synopsis
cmd
stagehand command
internal
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL