Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Frontend
/
Frontend
Which Playwright locator is most resilient for a visible “Submit order” button?
from Frontend
advanced
1 min
Which Playwright locator is most resilient for a visible “Submit order” button?
`page.getByRole("button", { name: "Submit order" })`
`page.locator("div:nth-child(7)")`
`page.locator(".blue.rounded.large")`
Check
Ask AI about this kata
Report an error
previous kata
Name the Vitest environment commonly selected when a unit test needs browser-like DOM API…
Fill in
next kata
What is the main purpose of Storybook `args` in a component story?
Quiz
A new version is available
Reload