{"enrichment":{"faq":[{"a":"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.","q":"What is Laravel Dusk browser testing and how does it work?"},{"a":"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.","q":"How do you set up and configure Laravel Dusk for automated testing?"},{"a":"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\u2014all while you can optionally take screenshots or inspect the DOM at any point.","q":"How can you write and run end-to-end tests using Laravel Dusk?"},{"a":"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\u2014such as waiting for specific elements or JavaScript conditions\u2014to handle dynamic content and ensure your tests remain reliable even with asynchronous UI updates.","q":"What techniques does Laravel Dusk provide for browser automation and UI testing?"},{"a":"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.","q":"How do you debug and troubleshoot Laravel Dusk test failures?"},{"a":"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.","q":"How do you integrate Laravel Dusk into CI/CD pipelines?"}],"shadow_tags":["browser-automation","end-to-end-testing","ui-testing-framework","laravel-testing-tools","selenium-wrapper","headless-browser-testing","qa-automation","web-app-testing","test-scripting"],"summary_rewrite":"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."},"gist":{"api_url":"https://skillfed.io/api/skills/rawveg/skillsforge-marketplace/laravel-dusk.json","as_of":"2026-02-19","description":"Laravel Dusk is a powerful testing framework that automates browser interactions for Laravel applications.","install":{"manual":["git clone https://github.com/rawveg/skillsforge-marketplace","cp -r skillsforge-marketplace ~/.claude/skills/laravel-dusk"],"primary":"npx skillfed install rawveg/skillsforge-marketplace/laravel-dusk","version":"295886f1"},"kind":"skill","mirror_url":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel-dusk.md","similar":[{"id":"LambdaTest/agent-skills/laravel-dusk-skill","name":"laravel-dusk-skill","publisher":"LambdaTest/agent-skills","url":"https://skillfed.io/LambdaTest/agent-skills/laravel-dusk-skill"},{"id":"Pixel-Process-UG/superkit-agents/laravel-specialist","name":"laravel-specialist","publisher":"Pixel-Process-UG/superkit-agents","url":"https://skillfed.io/Pixel-Process-UG/superkit-agents/laravel-specialist"},{"id":"spatie/freek.dev/pest-testing","name":"pest-testing","publisher":"spatie/freek.dev","url":"https://skillfed.io/spatie/freek.dev/pest-testing"},{"id":"noartem/skills/laravel-internationalization-and-translation","name":"Laravel Internationalization And Translation","publisher":"noartem/skills","url":"https://skillfed.io/noartem/skills/laravel-internationalization-and-translation"},{"id":"bagisto/agent-skills/pest-testing","name":"Pest Testing","publisher":"bagisto/agent-skills","url":"https://skillfed.io/bagisto/agent-skills/pest-testing"}],"title":"Laravel Dusk by rawveg: Learn how to set up \u2014 SkillFed","use":{"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."]},"what":{"lead":"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."}},"id":"rawveg/skillsforge-marketplace/laravel-dusk","install":{"mode":"external","repo":"https://github.com/rawveg/skillsforge-marketplace"},"links":{"html":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel-dusk","md":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel-dusk.md","repo":"https://github.com/rawveg/skillsforge-marketplace"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":8,"language":"Python","last_updated":"2026-02-19","license":null,"name":"Laravel Dusk","publisher":"rawveg","stars":39},"relations":{"similar":[{"id":"LambdaTest/agent-skills/laravel-dusk-skill"},{"id":"Pixel-Process-UG/superkit-agents/laravel-specialist"},{"id":"spatie/freek.dev/pest-testing"},{"id":"iSerter/laravel-claude-agents/laravel-feature-flags"},{"id":"TheBeardedBearSAS/claude-craft/testing"},{"id":"noartem/skills/laravel-internationalization-and-translation"},{"id":"bagisto/agent-skills/pest-testing"},{"id":"Aradotso/devtools-skills/laravel-devtoolbox-cli"},{"id":"mwguerra/claude-code-plugins/companion-project-creator"},{"id":"iSerter/laravel-claude-agents/laravel-systematic-debugging"}]},"slug":{"owner":"rawveg","repo":"skillsforge-marketplace","skill":"laravel-dusk"},"version":"295886f1"}
