Laravel Dusk
Laravel Dusk automates browser interactions for testing your Laravel applications, streamlining regression tests and ensuring consistent behavior.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-dusk npx -- -y @trustedskills/laravel-dusk
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-dusk": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-dusk"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The laravel-dusk skill enables AI agents to automate browser testing for Laravel applications. It allows agents to interact with a real web browser, simulating user actions and verifying application behavior. This facilitates comprehensive end-to-end testing of features that rely on JavaScript or complex HTML interactions.
When to use it
- Automated UI Testing: Verify the functionality of your Laravel application's user interface without manual intervention.
- End-to-End Feature Validation: Test complete user flows, such as registration, checkout processes, and form submissions.
- Regression Testing: Ensure that new code changes haven’t introduced unintended side effects or broken existing features.
- Continuous Integration/Continuous Delivery (CI/CD): Integrate Dusk tests into your CI/CD pipeline for automated testing on every build.
Key capabilities
- Browser automation using Chrome or Firefox.
- End-to-end testing of Laravel applications.
- Simulates user interactions within a browser environment.
- Verification of application behavior and UI elements.
Example prompts
- "Run the 'checkout_flow' Dusk test suite."
- "Execute the registration form submission test and report any errors."
- "Automate testing of the product search functionality using Dusk."
Tips & gotchas
- Requires a Laravel project set up with Dusk configured. Ensure your browser drivers are properly installed before use.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.