You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/api/class-frame.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -761,7 +761,7 @@ Returns whether the element is [enabled](./actionability.md#enabled).
761
761
## async method: Frame.isHidden
762
762
- returns: <[boolean]>
763
763
764
-
Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).
764
+
Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).[`option: selector`] that does not match any elements is considered hidden.
Copy file name to clipboardExpand all lines: docs/src/api/class-page.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1477,7 +1477,7 @@ Returns whether the element is [enabled](./actionability.md#enabled).
1477
1477
## async method: Page.isHidden
1478
1478
- returns: <[boolean]>
1479
1479
1480
-
Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).
1480
+
Returns whether the element is hidden, the opposite of [visible](./actionability.md#visible).[`option: selector`] that does not match any elements is considered hidden.
Copy file name to clipboardExpand all lines: types/types.d.ts
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2028,7 +2028,8 @@ export interface Page {
2028
2028
}): Promise<boolean>;
2029
2029
2030
2030
/**
2031
-
* Returns whether the element is hidden, the opposite of [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible).
2031
+
* Returns whether the element is hidden, the opposite of [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible). `selector` that does not
2032
+
* match any elements is considered hidden.
2032
2033
* @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://github.com/microsoft/playwright/blob/master/docs/selectors.md#working-with-selectors) for more details.
2033
2034
* @param options
2034
2035
*/
@@ -2044,7 +2045,8 @@ export interface Page {
2044
2045
}): Promise<boolean>;
2045
2046
2046
2047
/**
2047
-
* Returns whether the element is [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible).
2048
+
* Returns whether the element is [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible). `selector` that does not match any elements is
2049
+
* considered not visible.
2048
2050
* @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://github.com/microsoft/playwright/blob/master/docs/selectors.md#working-with-selectors) for more details.
2049
2051
* @param options
2050
2052
*/
@@ -3992,7 +3994,8 @@ export interface Frame {
3992
3994
}): Promise<boolean>;
3993
3995
3994
3996
/**
3995
-
* Returns whether the element is hidden, the opposite of [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible).
3997
+
* Returns whether the element is hidden, the opposite of [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible). `selector` that does not
3998
+
* match any elements is considered hidden.
3996
3999
* @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://github.com/microsoft/playwright/blob/master/docs/selectors.md#working-with-selectors) for more details.
3997
4000
* @param options
3998
4001
*/
@@ -4008,7 +4011,8 @@ export interface Frame {
4008
4011
}): Promise<boolean>;
4009
4012
4010
4013
/**
4011
-
* Returns whether the element is [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible).
4014
+
* Returns whether the element is [visible](https://github.com/microsoft/playwright/blob/master/docs/actionability.md#visible). `selector` that does not match any elements is
4015
+
* considered not visible.
4012
4016
* @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://github.com/microsoft/playwright/blob/master/docs/selectors.md#working-with-selectors) for more details.
0 commit comments