In this video, we dive into Laravel Dusk, a powerful, first-party tool for browser automation and testing within Laravel applications. You'll learn how to install Dusk, generate tests, and explore advanced features like interacting with multiple browsers simultaneously, making it easier to ensure your entire application functions smoothly.
Thanks to Bento for sponsoring this video! Check them out at aaronfrancis.com/bento.
Follow Aaron:
Twitter: / aarondfrancis
LinkedIn: / aarondfrancis
Website: https://aaronfrancis.com - find articles, podcasts, courses, and more.
Featured in this episode:
Docs: https://laravel.com/docs/11.x/dusk.
Chapters
00:00 What is Laravel Dusk?
01:00 Set Up Laravel Dusk
02:20 Review Default Test
03:18 Turn Off Headless Browser
04:50 Create Own Test
13:08 Clean Up Code with Macros
14:41 Finish Writing Test
16:34 Two Browser Test
19:04 Other Use Cases for Dusk
Watch video Laravel Dusk: painless browser automation online without registration, duration hours minute second in high quality. This video was added by user Aaron Francis 19 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 21,128 once and liked it 1 thousand people.