Laravel-Dusk

Laravel Dusk Failed Screenshots Send Email

Laravel Dusk Failed Screenshots Send Email

When you are working with Laravel Dusk and running the tests on a CI like Travis or Heroku. It gets tricky to get out of the screenshots of failed tests. Here is how I configured my Laravel Dusk to...

Nov 13, 2020 · Tushar
ChromeDriver Error in Dusk

ChromeDriver Error in Dusk

Chrome version must be between 70 and 73 (Driver info: chromedriver=2.45.615355 (d5698f682d8b2742017df6c81e0bd8e6a3063189),platform=Mac OS X 10.14.5 x86_64) If you receive this error while running...

Jun 15, 2019 · Tushar
Filling Form Data with Laravel Dusk

Filling Form Data with Laravel Dusk

Dusk provides a variety of wrapper methods around webdriver to easily interact with form elements. In this article we will review these methods. Filling Text Fields To type value in the text field,...

Feb 27, 2019 · Tushar
Pages with Dynamic URL Parameters in Laravel Dusk

Pages with Dynamic URL Parameters in Laravel Dusk

If you are working with Laravel Dusk and have dynamic route / url parameters. You would like to configure your pages to accept the dynamic parameter so that you won't have to create multiple pages and...

Feb 18, 2019 · Tushar
Navigating Pages in Laravel Dusk and Invoking Methods

Navigating Pages in Laravel Dusk and Invoking Methods

In the previous article we learned about Concept of Pages and Generating New Page in Dusk. Let's dig more into pages to see how we can create custom methods and visit a page. Navigate to Page Once y...

Feb 18, 2019 · Tushar
Pages in Laravel Dusk and Generating a new Page

Pages in Laravel Dusk and Generating a new Page

Laravel Dusk has a concept of page which helps you organize your browser automation tests. When you are working with a browser test and if the functionality / feature to be tested is complex that span...

Feb 18, 2019 · Tushar