Lupa API Reference / commands/locator / QueryByTestId
Interface: QueryByTestId
Defined in: src/commands/locator.ts:75
Use this locator to find elements by their data-testid attribute.
Properties
testId
testId:
string
Defined in: src/commands/locator.ts:79
The test id to use to locate the element. This should be the text content of the test id attribute.