Skip to content

Commit 11b9432

Browse files
authored
docs: update the default browser.provider (#6673)
1 parent 7a0de0a commit 11b9432

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/config/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1650,11 +1650,11 @@ Configure options for Vite server that serves code in the browser. Does not affe
16501650

16511651
#### browser.provider
16521652

1653-
- **Type:** `'webdriverio' | 'playwright' | string`
1654-
- **Default:** `'webdriverio'`
1653+
- **Type:** `'webdriverio' | 'playwright' | 'preview' | string`
1654+
- **Default:** `'preview'`
16551655
- **CLI:** `--browser.provider=playwright`
16561656

1657-
Path to a provider that will be used when running browser tests. Vitest provides two providers which are `webdriverio` (default) and `playwright`. Custom providers should be exported using `default` export and have this shape:
1657+
Path to a provider that will be used when running browser tests. Vitest provides three providers which are `preview` (default), `webdriverio` and `playwright`. Custom providers should be exported using `default` export and have this shape:
16581658

16591659
```ts
16601660
export interface BrowserProvider {

0 commit comments

Comments
 (0)