···110110- **Type:** `string`
111111- **CLI:** `--browser=safari`
112112113113-::: danger
113113+::: danger DEPRECATED
114114This API is deprecated an will be removed in Vitest 4. Please, use [`browser.instances`](#browser-instances) option instead.
115115:::
116116···150150151151Configure options for Vite server that serves code in the browser. Does not affect [`test.api`](#api) option. By default, Vitest assigns port `63315` to avoid conflicts with the development server, allowing you to run both in parallel.
152152153153-## browser.provider <Badge type="warning">experimental</Badge> {#browser-provider}
153153+## browser.provider {#browser-provider}
154154155155- **Type:** `'webdriverio' | 'playwright' | 'preview' | string`
156156- **Default:** `'preview'`
157157- **CLI:** `--browser.provider=playwright`
158158-159159-::: danger ADVANCED API
160160-The provider API is highly experimental and can change between patches. If you just need to run tests in a browser, use the [`browser.instances`](#browser-instances) option instead.
161161-:::
162158163159Path 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:
164160···180176}
181177```
182178179179+::: danger ADVANCED API
180180+The custom provider API is highly experimental and can change between patches. If you just need to run tests in a browser, use the [`browser.instances`](#browser-instances) option instead.
181181+:::
182182+183183## browser.providerOptions <Badge type="danger">deprecated</Badge> {#browser-provideroptions}
184184185185- **Type:** `BrowserProviderOptions`
186186187187-::: danger
187187+::: danger DEPRECATED
188188This API is deprecated an will be removed in Vitest 4. Please, use [`browser.instances`](#browser-instances) option instead.
189189:::
190190···300300- **Type:** `BrowserScript[]`
301301- **Default:** `[]`
302302303303-::: danger
303303+::: danger DEPRECATED
304304This API is deprecated an will be removed in Vitest 4. Please, use [`browser.testerHtmlPath`](#browser-testerhtmlpath) field instead.
305305:::
306306