This thread is trying to answer question "Is there a way to test that an input is not focused in Playwright?"
https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-not 😉
await expect(locator).not.toBeFocused()
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].