$npx skillfedfor your agent

Laravel Dusk

Laravel Dusk is a powerful testing framework that automates browser interactions for Laravel applications. This skill covers installation, configuration, and practical techniques for writing reliable end-to-end tests without complex setup. Gain hands-on experience with browser automation to validate your application's user workflows.

Laravel Dusk is a powerful testing framework that automates browser interactions for Laravel applications. It enables you to write reliable end-to-end tests that validate your application's user workflows by simulating real browser behavior. Dusk handles the complex setup of browser automation, allowing you to focus on testing your application's functionality without worrying about low-level driver configuration.

AI-generated summary based on this skill's SKILL.md

39 8 unlicensed, metadata onlyupdated by rawveg

Decision gist · record as of 2026-02-19

Laravel Dusk is a powerful testing framework that automates browser interactions for Laravel applications. It enables you to write reliable end-to-end tests that validate your application's user workflows by simulating real browser behavior. Dusk handles the complex setup of browser automation, allowing you to focus on testing your application's functionality without worrying about low-level driver configuration.

manual: git clone https://github.com/rawveg/skillsforge-marketplace → cp -r skillsforge-marketplace ~/.claude/skills/laravel-dusk

Use it when

  • Laravel Dusk setup begins with installing the package via Composer and publishing its configuration files.
  • Writing Laravel Dusk end-to-end tests involves creating test classes that extend Dusk's base test class.
Same gist for agents: .md · .json

Install

rawveg/skillsforge-marketplace/laravel-dusk · repository language: Python

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is Laravel Dusk browser testing and how does it work?

Laravel Dusk is a powerful testing framework that automates browser interactions for Laravel applications. It enables you to write reliable end-to-end tests that validate your application's user workflows by simulating real browser behavior. Dusk handles the complex setup of browser automation, allowing you to focus on testing your application's functionality without worrying about low-level driver configuration.

How do you set up and configure Laravel Dusk for automated testing?

Laravel Dusk setup begins with installing the package via Composer and publishing its configuration files. You'll need to configure your testing environment, specify which browser driver to use (typically ChromeDriver), and set up your test database. The framework handles most configuration automatically, but you can customize settings like base URLs, timeouts, and headless browser options to match your testing needs.

How can you write and run end-to-end tests using Laravel Dusk?

Writing Laravel Dusk end-to-end tests involves creating test classes that extend Dusk's base test class, then using fluent methods to interact with your application. You can visit pages, fill forms, click buttons, and submit data just as a real user would. Run your tests using Artisan commands, and Dusk will launch a browser instance, execute your test steps, and report results—all while you can optionally take screenshots or inspect the DOM at any point.

What techniques does Laravel Dusk provide for browser automation and UI testing?

Laravel Dusk offers a comprehensive API for browser automation, including methods to navigate pages, interact with form elements, wait for elements to appear, and make assertions about page state. You can automate clicks, text input, dropdown selection, and file uploads. The framework also supports waiting strategies—such as waiting for specific elements or JavaScript conditions—to handle dynamic content and ensure your tests remain reliable even with asynchronous UI updates.

How do you debug and troubleshoot Laravel Dusk test failures?

Laravel Dusk provides several debugging tools to troubleshoot test failures. You can take screenshots at any point in your test to inspect the browser state, use the pause() method to halt execution and manually inspect the page, or enable detailed logging. When tests fail, Dusk captures screenshots automatically, helping you identify what went wrong. You can also inspect the DOM, check console output, and review assertions to pinpoint issues in your test logic or application behavior.

How do you integrate Laravel Dusk into CI/CD pipelines?

Integrating Laravel Dusk into CI/CD pipelines involves configuring your pipeline to install dependencies, set up a headless browser environment, and run Dusk tests as part of your build process. Most CI systems support running Dusk with headless Chrome or Firefox, eliminating the need for a display server. You configure environment variables, database setup, and test commands in your pipeline configuration, then Dusk runs your end-to-end tests automatically on every commit or pull request.

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn how to set up and configure Laravel Dusk for automated browser testing”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

laravel-dusk-skill
by LambdaTest · LambdaTest/agent-skills

This skill streamlines end-to-end testing by automating the generation of Laravel Dusk browser test scripts. It enables developers to quickly scaffold and compose test cases for web application workflows, reducing manual test writing overhead and accelerating QA automation cycles.

MITupdated Jul 2026
★ 339repo stars
pest-testing
by spatie · spatie/freek.dev

This skill guides you through testing Laravel applications with Pest 4, covering unit and feature tests, browser testing with real browsers, and architecture validation. It handles test organization, assertions, mocking, datasets, and debugging—activating whenever you're writing tests, adding assertions, or verifying functionality.

MITfor claude-codeupdated Jul 2026
★ 651repo stars
laravel-specialist
by Pixel-Process-UG · Pixel-Process-UG/superkit-agents

Laravel Specialist guides you through designing and maintaining Laravel applications at production scale. It covers the full ecosystem—Eloquent relationships and query optimization, Blade and Livewire components, queue systems, middleware pipelines, and Pest testing—with a structured five-phase process from context discovery through optimization.

MITupdated Mar 2026
★ 1repo stars
Laravel Internationalization And Translation
by noartem · noartem/skills

Master Laravel's built-in internationalization system to support multiple languages from the ground up. Learn to configure locales, structure translation files, use helpers in controllers and templates, and implement advanced features like translatable model attributes and route localization.

no license declared → metadata onlyupdated Jun 2026
★ 9repo stars
Pest Testing
by bagisto · bagisto/agent-skills

This skill teaches you to write and run Pest 3 tests across Bagisto's modular package structure. Learn to create unit and feature tests, use assertions and mocking, organize tests by package, and run specific test suites via command line.

no license declared → metadata onlyupdated Jul 2026
★ 11repo stars
laravel-systematic-debugging
by iSerter · iSerter/laravel-claude-agents

This skill guides you through a four-phase debugging methodology designed to eliminate guesswork when troubleshooting Laravel issues. By enforcing root cause investigation before any fix attempt, it helps you avoid symptom-masking patches that create new problems. The process covers log analysis, Laravel Telescope inspection, data flow tracing, pattern comparison, hypothesis testing, and test-driven implementation.

MITupdated Apr 2026
★ 41repo stars
Tags
browser-automationend-to-end-testingui-testing-frameworklaravel-testing-toolsselenium-wrapperheadless-browser-testingqa-automationweb-app-testingtest-scripting