Skip to content

Commit ce0666c

Browse files
Revise browser command syntax for Pest tests
Fixed typo. This is the output when following the official docs ``` The "--browser" argument requires a value. Usage: --browser <browser-type> (e.g., chrome, firefox, webkit). ``` ``` --browser firefox ```
1 parent 5d817b7 commit ce0666c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

browser-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ test('example', function () {
9696
By default, the `visit()` method uses Chrome as the browser. However, if you want to use a different browser, you can specify it using the `--browser` option when running the tests:
9797

9898
```bash
99-
./vendor/bin/pest --browser=firefox
100-
./vendor/bin/pest --browser=safari
99+
./vendor/bin/pest --browser firefox
100+
./vendor/bin/pest --browser safari
101101
```
102102

103103
If you wish to use a different browser by default without specifying it in the command line, you can set it in your `Pest.php` configuration file:

0 commit comments

Comments
 (0)