Usage Modes
Standalone Mode
Learn how to use Auto-Browse outside of Playwright test context
Standalone Mode
Auto-Browse can be used independently of Playwright’s test framework, making it perfect for automation scripts, web scraping, or any browser-based tasks.
Overview
In standalone mode, Auto-Browse:
- Manages the browser lifecycle automatically
- Creates and configures pages
- Handles cleanup
- Provides a simple, natural language interface
Basic Usage
Here’s a simple example of using Auto-Browse in standalone mode:
Form Automation Example
A more complex example showing form automation:
Running Scripts
To run standalone scripts:
Best Practices
- Error Handling
- Taking Snapshots
- Descriptive Commands
Common Use Cases
- Web Scraping
- Site Testing
- Data Entry Automation
Next Steps
- Learn about Playwright Test Mode
- Explore Auto-Detection Mode
- Check out Supported Actions