Skip to content

Commit

Permalink
Add chrome driver installation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Mar 19, 2022
1 parent 11b03bc commit d6b7682
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ javascript-app/
└── ExamplePage.php
```

Then, navigate into the `browser` directory and install the Chrome driver by running the below command:

```
php application dusk:chrome-driver
```

## Usage

Before running your dusk tests, be sure to set the proper base URL to where your JavaScript application will be served from:
Expand All @@ -65,6 +71,8 @@ npm run develop

Then, inside of another terminal, navigate into the `browser` directory and run the below command:

> **Important**: Make sure you've installed the Chrome driver first, via the `php application dusk:chrome-driver` command.
```bash
php application pest:dusk
```
Expand Down

0 comments on commit d6b7682

Please sign in to comment.