How to wait for an element to be visible in Playwright without using assert
Most of the time when you want to check an element is visible in Playwright you do so as part of a test assertion. For example if you’re testing that attempting to log in using an invalid password displays an error message, your test might look something like this: This is absolutely fine because checking […]