This thread is trying to answer question "How to enable the option to press TAB and highlight the item in a test?"
In debug mode the element is highlihgted that is the question what do you suggest @dand33 ? Another option is manually add some border to the focused element but both options are a bit complex if the element has the same border color that you add or the same color do highlighted if the question is related to accessibility you can use the insights accessibility extensión Firefox with developer accessibility tools enabled includes something similar
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].