Skip to content

Commit

Permalink
docs: update the default browser.provider (#6673)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 authored Oct 9, 2024
1 parent 7a0de0a commit 11b9432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1650,11 +1650,11 @@ Configure options for Vite server that serves code in the browser. Does not affe
#### browser.provider
- **Type:** `'webdriverio' | 'playwright' | string`
- **Default:** `'webdriverio'`
- **Type:** `'webdriverio' | 'playwright' | 'preview' | string`
- **Default:** `'preview'`
- **CLI:** `--browser.provider=playwright`
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:
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:
```ts
export interface BrowserProvider {
Expand Down

0 comments on commit 11b9432

Please sign in to comment.