File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
playwright/src/main/java/com/microsoft/playwright Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -1225,7 +1225,8 @@ default boolean isHidden(String selector) {
12251225 return isHidden (selector , null );
12261226 }
12271227 /**
1228- * Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).
1228+ * Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible). {@code selector} that does not
1229+ * match any elements is considered hidden.
12291230 *
12301231 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See
12311232 * [working with selectors](./selectors.md#working-with-selectors) for more details.
@@ -1235,7 +1236,8 @@ default boolean isVisible(String selector) {
12351236 return isVisible (selector , null );
12361237 }
12371238 /**
1238- * Returns whether the element is [visible](./actionability.md#visible).
1239+ * Returns whether the element is [visible](./actionability.md#visible). {@code selector} that does not match any elements is
1240+ * considered not visible.
12391241 *
12401242 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See
12411243 * [working with selectors](./selectors.md#working-with-selectors) for more details.
Original file line number Diff line number Diff line change @@ -1977,7 +1977,8 @@ default boolean isHidden(String selector) {
19771977 return isHidden (selector , null );
19781978 }
19791979 /**
1980- * Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).
1980+ * Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible). {@code selector} that does not
1981+ * match any elements is considered hidden.
19811982 *
19821983 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See
19831984 * [working with selectors](./selectors.md#working-with-selectors) for more details.
@@ -1987,7 +1988,8 @@ default boolean isVisible(String selector) {
19871988 return isVisible (selector , null );
19881989 }
19891990 /**
1990- * Returns whether the element is [visible](./actionability.md#visible).
1991+ * Returns whether the element is [visible](./actionability.md#visible). {@code selector} that does not match any elements is
1992+ * considered not visible.
19911993 *
19921994 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See
19931995 * [working with selectors](./selectors.md#working-with-selectors) for more details.
Original file line number Diff line number Diff line change 1- 1.8.0
1+ 1.8.1
You can’t perform that action at this time.
0 commit comments