Javascript – How can I distinguish between element not visible and not rendered?
I'm using Playwright for testing and need to differentiate between an element being hidden with CSS (via display, visibility, opacity, etc.) and an element not being rendered at all, meaning it's not part of the DOM. In the Playwright documentation…