We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f878ffe commit 6e63427Copy full SHA for 6e63427
1 file changed
browser-testing.md
@@ -187,6 +187,7 @@ pest()->browser()->timeout(10);
187
```
188
189
### Per-Test Overrides
190
+
191
In addition to configuring defaults globally, you can override settings per test using the following methods:
192
193
#### Setting Locale
@@ -199,6 +200,7 @@ it('shows the page in French', function () {
199
200
});
201
202
#### Setting Timezone
203
204
```php
205
it('visits with user agent', function () {
206
$page = visit('/')->withUserAgent('Googlebot');
@@ -208,6 +210,7 @@ it('visits with user agent', function () {
208
210
209
211
212
#### Setting UserAgent
213
214
215
it('shows New York time', function () {
216
$page = visit('/')->withTimezone('America/New_York');
0 commit comments