One of the most common ways to debug an error in PHP ecosystem is to dump the variable on the screen, and figure out what is going wrong with it.
The most common way we do it in PHP is via using va...
If you are working with Laravel Eloquent and got following exception -> count(): Parameter must be an array or an object that implements Countable
This is probably because of the new version of PHP...
Laravel Dusk provides you with an option to define custom methods for your browser testing. If you have a set of code that you are re-using in multiple places, it's good idea to refactor that into a b...
While doing automation testing of your web-application. At times it's best to select random data in your form fields, this is because there are certain errors or issues which occur for particular set...
In this tutorial we will go over on how you can generate a new Laravel Dusk test for the browser automation testing. Before diving in make sure you have Installed the Laravel Dusk package.
To gener...
If you are working with Automation testing, One of the most important aspect of browser testing is how you interact with elements available on the page. Elements on your page can be form elements , di...
In your test many times you will need to check if a particular element exists on the page and you would want to make it your assertion point. You might need to do this when you are generating the elem...
Taking Screenshots are a great way to go over what went wrong in your automation test. In this tutorial we will go over on how you can store the screenshots of where your test failed or of any desired...
By Default Laravel Dusk runs the browser automation test in headless mode of Google Chrome. If you are not sure what headless denotes
A headless browser is a web browser without a graphical user inte...
Now that we are ready with Laravel Dusk setup, we will go over on how to run the Laravel Dusk test.
For laravel dusk to be able to run the browser automation test on your local environment, It need...