Locator
Also written: locators
Playwright's description of how to find an element on the page, such as page.getByRole("button", { name: "Place order" }). It's the same idea as Testing Library's queries.
Also written: locators
Playwright's description of how to find an element on the page, such as page.getByRole("button", { name: "Place order" }). It's the same idea as Testing Library's queries.