From 9aaf7b8aea2b392199bf9204e52dacd9c4314cf5 Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Wed, 9 Oct 2024 12:27:11 -0500 Subject: [PATCH] Update the default `browser.provider` in docs --- docs/config/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config/index.md b/docs/config/index.md index 4b5b2693f7ee..e9df0fc6090c 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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 {