From 9c5cc3dbdf531cfd65a104234dc8b4ba5b8cdb07 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Mon, 9 Dec 2024 10:10:50 +0100 Subject: [PATCH] docs: fix import --- docs/guide/browser/locators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/browser/locators.md b/docs/guide/browser/locators.md index f517c46d14d5..be8ed5e5cf7e 100644 --- a/docs/guide/browser/locators.md +++ b/docs/guide/browser/locators.md @@ -719,7 +719,7 @@ The `selector` is a string that will be used to locate the element by the browse You should not use this string in your test code. The `selector` string should only be used when working with the Commands API: ```ts [commands.ts] -import type { BrowserCommand } from '@vitest/browser' +import type { BrowserCommand } from 'vitest/node' const test: BrowserCommand = function test(context, selector) { // playwright