mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
16 lines
289 B
Markdown
16 lines
289 B
Markdown
---
|
|
title: browser.locators | Config
|
|
outline: deep
|
|
---
|
|
|
|
# browser.locators
|
|
|
|
Options for built-in [browser locators](/api/browser/locators).
|
|
|
|
## browser.locators.testIdAttribute
|
|
|
|
- **Type:** `string`
|
|
- **Default:** `data-testid`
|
|
|
|
Attribute used to find elements with `getByTestId` locator.
|