Include the programming language. Playwright supports Python, Node.js, Java and .NET. If you don't include the language, the AI will assume you are asking about Node.js.
goodHow do I upload a file using the fs module in JavaScript?
badHow do I upload a file?
Phrase it as a question.
good"How do I use the `test.step()` API in Playwright to log each step of a test?"