This thread is trying to answer question "Is there a utility or library that can provide the locator for a focused element on a webpage, separate from the 'codegen' tool?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].