Hi Cursor AI Community,
I’m exploring how Cursor AI can support web UI automation, especially regarding “self-healing” test cases.
In web automation, a UI element typically refers to something identified by a selector like an ID, XPath, or CSS locator. Self-healing usually means:
- If a locator changes (e.g., an element’s ID or XPath is updated), the system automatically finds the element during test execution.
- The test continues without failing.
- The locator can be updated automatically for future runs.
From what I’ve seen, Cursor AI is a powerful AI-powered IDE that helps with code generation, completion, and refactoring.
My question:
Does Cursor AI itself perform self-healing of web element locators at runtime while executing tests?
Or is its main role to:
- Generate initial test code and locators,
- Suggest fixes after a failure is detected,
- Help maintain and refactor test scripts?
Any insights on whether Cursor AI directly supports runtime self-healing workflows—or mainly acts as an intelligent assistant—would be much appreciated!
Thank you!