- TypeScript
- Python
We strongly recommend using Stagehand in a new project with Then, you can use Stagehand in your project by importing the
npx create-browser-app. Check out our quickstart guide to get started.However, if you have an existing project, you can install Stagehand by installing the @browserbasehq/stagehand package.- npm
- pnpm
- yarn
You may also need to install the Playwright browser to run your Stagehand scripts, especially if you’re running locally.
Stagehand class.
