Skip to content

Commit 1eb82c8

Browse files
committed
Update docs for locator.isHidden
1 parent 403fa5e commit 1eb82c8

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

docs/sources/next/javascript-api/k6-experimental/browser/locator/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Locator can be created with the [page.locator(selector[, options])](https://graf
3333
| [locator.isDisabled([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/isdisabled) | Checks if the element is `disabled`. |
3434
| [locator.isEditable([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/iseditable) | Checks if the element is `editable`. |
3535
| [locator.isEnabled([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/isenabled) | Checks if the element is `enabled`. |
36-
| [locator.isHidden([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/ishidden) | Checks if the element is `hidden`. |
36+
| [locator.isHidden()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/ishidden) | Checks if the element is `hidden`. |
3737
| [locator.isVisible()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/isvisible) | Checks if the element is `visible`. |
3838
| [locator.press(key, [options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/press) | Press a single key on the keyboard or a combination of keys. |
3939
| [locator.selectOption(values, [options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/selectoption) <BWIPT id="470"/> | Select one or more options which match the values. |

docs/sources/next/javascript-api/k6-experimental/browser/locator/ishidden.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
---
2-
title: 'isHidden([options])'
2+
title: 'isHidden()'
33
excerpt: 'Browser module: locator.isHidden method'
44
---
55

6-
# isHidden([options])
6+
# isHidden()
77

88
Checks if the element is `hidden`.
99

10-
<TableWithNestedRows>
11-
12-
| Parameter | Type | Default | Description |
13-
| --------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
14-
| options | object | `null` | |
15-
| options.timeout | number | `30000` | Maximum time in milliseconds. Pass `0` to disable the timeout. Default is overridden by the `setDefaultTimeout` option on [BrowserContext](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/browsercontext/) or [Page](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/page/). |
16-
17-
</TableWithNestedRows>
18-
1910
### Returns
2011

2112
| Type | Description |

0 commit comments

Comments
 (0)