The Prompt
Write a production-ready Selenium test script that automates the Login flow. Ensure you include assertions, handle async operations properly, and include at least two negative test cases. Provide comments explaining the logic.
How to use this prompt
Copy this prompt to ChatGPT or Claude. Add your specific DOM structure or API contract for the Login feature to get a customized Selenium test script.