easy5 pts · first answer countsui-automationplaywrightlocators
Finding a button by role and name
A page has several buttons. Which Playwright locator best finds the one labelled "Place order" in a way that also reflects how users and screen readers see it?
Discussion 0
Join free to post in the discussion.
Related questions
- Choosing a stable locatorAutomation Test Engineer
- Waiting for an elementAutomation Test Engineer
- Headless modeAutomation Test Engineer
- Reading a CSS selectorAutomation Test Engineer
- A missing awaitAutomation Test Engineer
- Browsers Playwright coversAutomation Test Engineer
- Using the trace viewerAutomation Test Engineer
- Recording a first draft of a testAutomation Test Engineer