TIL - The Playwright getBy* locators treat visibility differently!

Apr 2, 2025

Join Stefan Judis, Playwright ambassador, as he explains why the getByRole() locator is the only locator considering visibility when matching UI elements.

Issue: https://github.com/microsoft/playwright/issues/31840
Feature request: https://github.com/microsoft/playwright/issues/35294

#shorts #playwright #softwaretesting #syntheticmonitoring #checkly