Rayrun
← Back to Discord Forum

How to test if an input is not focused

This there a way to test that an input is not focused (basically the opposite of .toBeFocused())?

This thread is trying to answer question "Is there a way to test that an input is not focused in Playwright?"

1 reply
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.