Returns whether the given element is currently visible.
An element is considered visible if it consumes space in the document.
Elements with { visibility: hidden } or { opacity: 0 } are considered visible since they still consume space in the layout.
Elements not attached to the DOM are considered hidden.
Whether the given element is visible.
Tip Your coding agent can search these docs locally with the Unpoly agent skill