dusk

Automate end-to-end browser testing for Laravel applications with Laravel Dusk.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/codebar-ag/coding-guidelines --skill dusk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dusk
Source: https://github.com/codebar-ag/coding-guidelines/tree/main/resources/boost/skills/dusk
Command: npx skills add https://github.com/codebar-ag/coding-guidelines --skill dusk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end browser testing requires real user flows and UI verification, which can be flaky and hard to maintain without a real browser.

Core Features & Use Cases

  • End-to-end browser testing with Laravel Dusk to simulate real-user interactions
  • Handles JavaScript-driven flows, multi-step forms, and visual assertions in automated tests
  • Use cases include verifying complete user journeys, UI behavior, and regression checks across environments

Quick Start

Install Laravel Dusk in your Laravel project and run your first browser-based test suite.

Frequently Asked Questions about dusk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run end-to-end browser tests for a Laravel application with JavaScript-driven UI?

Laravel Dusk runs end-to-end browser tests using real Chrome to simulate user interactions. It handles JavaScript execution, multi-step forms, and visual assertions to verify complete user journeys in Laravel applications.

Why does my Laravel end-to-end testing fail on JavaScript-heavy forms without a real browser?

End-to-end testing requires a real browser like Chrome to properly execute JavaScript and verify UI behavior. Laravel Dusk uses WebDriver to automate these real-browser interactions, preventing flaky tests on dynamic UI elements.

How do I organize stable Laravel Dusk tests using page objects and standard conventions?

You can organize stable Laravel Dusk tests by applying page objects, standard Dusk conventions, and best-practice test isolation. This structure ensures reliable end-to-end browser testing across different environments.

Can I use Laravel Dusk for visual validations and multi-step form regression checks?

Yes, Laravel Dusk automates end-to-end browser testing for multi-step forms and visual validations. It simulates real-user interactions to perform regression checks across environments for UI-rich workflows.

What is the best way to automate real-user interaction testing in Laravel without flaky results?

Using Laravel Dusk with real Chrome is the best way to automate real-user interaction testing. It executes actual browser commands via WebDriver, ensuring accurate UI behavior verification and stable regression checks.