This folder contains example projects demonstrating Brobot features, organized to match the documentation structure.
Examples are organized by documentation section:
- quick-start - Basic Brobot setup and simple automation
- pure-actions-quickstart - New Pure Actions API for cleaner code
- action-hierarchy - Understanding Basic and Complex Actions
- automatic-action-logging - Built-in logging functionality
- advanced-illustration-system - Visual debugging and analysis
- finding-objects/
- using-color - Color-based object detection
- combining-finds - Nested and confirmed find operations
- movement - Motion detection across scenes
- examples - Form automation and validation
- conditional-chains-examples - ConditionalActionChain patterns
- tutorial-basics - State management fundamentals
- tutorial-claude-automator - Annotation-driven automation
- unit-testing - Testing Brobot automations
- enhanced-mocking - Advanced mocking capabilities
Each example is a standalone Spring Boot project:
- Navigate to the example directory
- Build:
./gradlew build - Run:
./gradlew bootRun - See the example's README for specific instructions
Each example corresponds to documentation pages. The README in each project shows the exact documentation page(s) it demonstrates.
- Java 11 or higher
- Gradle (wrapper included in each project)
- Brobot 1.1.0 or higher
To find examples for a specific topic:
- Check the documentation page you're reading
- Look for the corresponding example in this folder structure
- The example code matches the documentation code exactly