Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which Playwright locator is most resilient for a visible “Submit order” button?" on CodeWiki (https://codewiki.com/practice/mcq/frontend/checkpoint-3/checkpoint-3-fix/).
Context (verbatim from the page):
"""
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")`
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Frontend. Where you are unsure, say so.