Laravel Browse Testing, Automation using Laravel Dusk

DEV IT
1 min readAug 27, 2019

--

Laravel Browse Testing, Automation using Laravel Dusk

Laravel Dusk is a package that provides the functionality of unit testing in the browser. It does not require JDK or Selenium. This package uses Chrome driver by default but it can be configured to use Selenium with different browser as well.

First, we get information about the installation part and then we will do one test case with login authentication. I hope this information will be useful for the projects to do unit test and perform test cases using Dusk.

1. Installation

You should have composer dependency in your project. For the installation please run this command in your Laravel project.

composer require –dev laravel/dusk

2. Register service provider

Read more

--

--

DEV IT

Delivering digital transformation and end-to-end information technology services