Skip to content

Commit

Permalink
docs: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Dec 9, 2024
1 parent 580050d commit 9c5cc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/browser/locators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> = function test(context, selector) {
// playwright
Expand Down

0 comments on commit 9c5cc3d

Please sign in to comment.