When to Apply: Reference when writing PHP BDD tests with Gherkin, using MinkContext for browser interactions, or testing Drupal/Symfony/Laravel applications with BDD. Triggers on "Behat", "PHP BDD", "Mink", "behat.yml", "FeatureContext PHP".
Playbook Deep Dive (10 sections): §1 Project Setup & Configuration · §2 Feature Files — Gherkin Patterns · §3 Context Classes — Step Definitions · §4 Hooks — Lifecycle Management · §5 Page Objects & Reusable Components · §6 LambdaTest Cloud Integration · §7 Custom Formatters & Reporting · §8 CI/CD Integration · §9 Debugging Table · §10 Best Practices
The agent loads from 2 on-demand reference files (advanced-patterns.md, playbook.md) containing detailed implementation guides, cloud integration patterns, debugging tables, and language-specific best practices.