Laravel Dusk Skill
Automates browser interactions within Laravel applications using Dusk for robust testing and validation, saving time & improving reliability.
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-skill npx -- -y @trustedskills/laravel-dusk-skill
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-dusk-skill": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-dusk-skill"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to automate browser testing for Laravel applications using Dusk. It allows agents to interact with a running Laravel application within a real browser environment, simulating user actions and verifying expected outcomes. This facilitates automated UI testing and ensures the stability of web applications.
When to use it
- Automated UI Testing: When you need to automatically test your Laravel application's user interface for regressions or new features.
- End-to-End Test Scenarios: To execute complete user flows, such as registration, login, and checkout processes.
- Browser Compatibility Checks: Verify that your application functions correctly across different browsers (Chrome, Firefox, Safari).
- Continuous Integration/Continuous Deployment (CI/CD): Integrate Dusk tests into your CI/CD pipeline to automatically test code changes before deployment.
Key capabilities
- Automated browser testing for Laravel applications
- Support for multiple browsers (Chrome, Firefox, Safari)
- Simulates user interactions within a browser environment
- Integration with Laravel's testing framework
Example prompts
- "Run the 'user registration' test suite."
- "Test the login functionality on Chrome and report any errors."
- "Execute the checkout flow and verify the order confirmation page is displayed correctly."
Tips & gotchas
- Requires a Laravel application to be running locally or remotely.
- Ensure that Dusk drivers are properly configured for the desired browsers.
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.