Skip to content

Commit 403fa5e

Browse files
committed
Update docs for locator.isVisible
1 parent f2ec170 commit 403fa5e

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
@@ -34,7 +34,7 @@ Locator can be created with the [page.locator(selector[, options])](https://graf
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`. |
3636
| [locator.isHidden([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/ishidden) | Checks if the element is `hidden`. |
37-
| [locator.isVisible([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/isvisible) | Checks if the element is `visible`. |
37+
| [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. |
4040
| [locator.tap([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/tap) <BWIPT id="471"/> | Tap on the chosen element. |

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

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

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

88
Checks if the element is `visible`.
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)