Skip to content

Add sandbox template for cloud browser automation#9

Merged
ShawnPana merged 4 commits into
mainfrom
sandbox
Nov 14, 2025
Merged

Add sandbox template for cloud browser automation#9
ShawnPana merged 4 commits into
mainfrom
sandbox

Conversation

@ShawnPana
Copy link
Copy Markdown
Collaborator

Adds new 'sandbox' template demonstrating the @sandbox decorator for cloud-based browser sessions with the following features:

  • Persistent authentication via cloud profiles
  • Country-specific proxy routing (ISO country codes)
  • Configurable session timeouts
  • Simplified cloud configuration

Template includes:

  • main.py: Example using @sandbox decorator with X.com task
  • .env.example.template: Environment variables with placeholders
  • pyproject.toml.template: Dependencies configuration
  • README.md: Comprehensive setup and customization guide

Tested with test-env/test_templates.py

Adds new 'sandbox' template demonstrating the @sandbox decorator for
cloud-based browser sessions with the following features:

- Persistent authentication via cloud profiles
- Country-specific proxy routing (ISO country codes)
- Configurable session timeouts
- Simplified cloud configuration

Template includes:
- main.py: Example using @sandbox decorator with X.com task
- .env.example.template: Environment variables with placeholders
- pyproject.toml.template: Dependencies configuration
- README.md: Comprehensive setup and customization guide

Tested with test-env/test_templates.py
- Removed test-env directory and all references
- Updated README with instructions to modify browser_use/init_cmd.py for testing
- Simplified test-templates workflow to only validate templates.json
- Updated verify_template_output.py to validate template files exist and compile
- Removed test-env exclusions from lint workflow
Comment thread .github/workflows/test-templates.yml Fixed
@ShawnPana ShawnPana merged commit dfe7fae into main Nov 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants