@VishalAggarwal We've discussed this before, and that goes against
Playwright best practices. XPath is hard to read, hard to maintain, and easily leads to brittle selectors. This one is tied to a specific attributes elements that are liable to change when non-user visible aspects of the page change. The goal is to test the user experience, not the programmer experience, and tags and attributes are for programmers, not users. This is a well-established QA testing community standard as of the past 5 years or so. —
ggorlen 54 secs ago