Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: note that opacity:0 still counts as visible element (#28965)

Dmitry Gozman37634df0c462
diff --git a/docs/src/actionability.md b/docs/src/actionability.md
index 35ab93bccc..337e5fd344 100644
--- a/docs/src/actionability.md
+++ b/docs/src/actionability.md
@@ -80,7 +80,12 @@ Learn more in the [assertions guide](./test-assertions.md).
## Visible
-Element is considered visible when it has non-empty bounding box and does not have `visibility:hidden` computed style. Note that elements of zero size or with `display:none` are not considered visible.
+Element is considered visible when it has non-empty bounding box and does not have `visibility:hidden` computed style.
+
+Note that according to this definition:
+* Elements of zero size **are not** considered visible.
+* Elements with `display:none` **are not** considered visible.
+* Elements with `opacity:0` **are** considered visible.
## Stable