Skip to content

steel-dev/steel-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Discord X

Steel Cookbook

A collection of production-ready examples demonstrating how to build powerful browser automations with Steel. From basic Playwright scripts to advanced AI agent workflows, these examples show you how to leverage Steel's cloud browser infrastructure for reliable, scalable web automation.

  • Basics: Essential examples covering browser automation fundamentals with popular frameworks like Playwright, Puppeteer, and Selenium.

  • AI Agents: AI-powered browser automation using computer use models (Claude, OpenAI, Gemini) and specialized agent frameworks (Browser-use, Stagehand, CrewAI).

  • Advanced Features: Steel platform capabilities including persistent profiles, credential management, browser extensions, and session reuse.

Example catalogs

Browse examples by your preferred language:

TypeScript JavaScript Python

Or explore the complete catalog below:


Basics

Foundation examples for browser automation with Steel. Start here if you're new to Steel or want to integrate it with your preferred automation framework.

Example Name Languages
Playwright Integration
Puppeteer Integration
Selenium Integration

AI Agents

AI-powered browser automation that can understand, reason about, and interact with web pages autonomously.

Computer Use Models

Vision-based AI models that can control browsers by analyzing screenshots and executing actions.

Example Name Languages
Claude Computer Use
Claude Computer Use (Mobile)
OpenAI Computer Use
Gemini Computer Use

Agent Frameworks

Specialized frameworks that provide high-level abstractions for building AI-powered browser automation workflows.

Example Name Languages
Browser-use
Stagehand
Browser-use + CAPTCHA Solver
Inngest AgentKit
Magnitude AI Testing
Agno
CrewAI
Notte

Advanced Features

Steel platform features that enhance your browser automation workflows with persistent state, credential management, and more.

Feature Example
Auth Context Reuse Reuse authentication state (cookies, local storage) across sessions
Persistent Profiles Maintain browser state across sessions with persistent profiles
Credential Management Securely store and automatically inject credentials
Browser Extensions Load and use browser extensions in cloud browsers
File Handling Upload and download files in cloud browser sessions

Language-Specific Catalogs

TypeScript

Basics

  • Playwright - Playwright with TypeScript and session management
  • Puppeteer - Puppeteer with CDP connection and cloud browser automation

AI Computer Use

Agent Frameworks

Advanced Features

JavaScript

Basics

Python

Basics

AI Computer Use

Agent Frameworks


Running the Examples

Each example contains a comprehensive README with setup instructions. Here's the general workflow:

1. Clone and Navigate

git clone https://github.com/steel-dev/steel-cookbook.git
cd steel-cookbook/examples/<example-name>

2. Install Dependencies

TypeScript/JavaScript:

npm install
# or
yarn install
# or
pnpm install

Python:

pip install -r requirements.txt
# or with pyproject.toml
pip install -e .

3. Configure Environment

Copy the .env.example to .env and add your Steel API key:

cp .env.example .env

Get your API key from the Steel Dashboard.

4. Run the Example

TypeScript:

npm start
# or
npx tsx index.ts

JavaScript:

node index.js

Python:

python main.py

Refer to each example's README for specific requirements and advanced configuration options.


Getting Steel API Access

All examples require a Steel API key. Steel provides cloud browser infrastructure with:

  • Managed browser sessions - No infrastructure setup or maintenance
  • Built-in CAPTCHA solving - Automatic CAPTCHA resolution
  • Proxy support - Residential and datacenter proxy integration
  • Session persistence - Maintain state across multiple sessions
  • Extension support - Load browser extensions in cloud browsers

Sign up for Steel to get your API key and start building.


Joining the Community

Stay connected with the Steel community:

  • Discord - Get help, share feedback, and connect with other developers
  • Documentation - Comprehensive guides and API reference
  • X/Twitter - Stay updated with the latest news and features

This is the perfect place to ask questions, share your automations, and learn from the community!


Contributing

We welcome contributions! See the Contributing Guide for:

  • Adding new examples
  • Improving existing examples
  • Reporting issues
  • Suggesting new integrations

Support

About

Examples and guides for using the Steel API

Topics

Resources

License

Contributing

Stars

Watchers

Forks