Skip to content

Commit 4a7f15b

Browse files
authored
Merge pull request #328 from JeffreyWay/patch-1
Fix timeout example
2 parents 90542f2 + 9ebb58f commit 4a7f15b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browser-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ $page->click('#submit-button');
183183
Sometimes, elements may take time to appear on the page. By default, Pest waits for `5` seconds before timing out. You can configure the default timeout for browser tests in your `Pest.php` configuration file:
184184

185185
```php
186-
pest()->browser()->timeout(10);
186+
pest()->browser()->timeout(10000);
187187
```
188188

189189
## Table of Contents

0 commit comments

Comments
 (0)