Skip to content

browser.locators

Options for built-in browser locators.

browser.locators.testIdAttribute

  • Type: string
  • Default: data-testid

Attribute used to find elements with getByTestId locator.

Released under the MIT License.