Skip to content

Commit 7fd9ec1

Browse files
committed
Update docs for page.isVisible
1 parent 1eb82c8 commit 7fd9ec1

File tree

1 file changed

+6
-7
lines changed
  • docs/sources/next/javascript-api/k6-experimental/browser/page

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ excerpt: 'Browser module: page.isVisible(selector[, options]) method'
99

1010
Use locator-based [`locator.isVisible([options])`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/locator/isvisible/) instead.
1111

12-
{{% /admonition %}}
12+
{{% /admonition %}}
1313

1414
Checks if the element is `visible`.
1515

1616
<TableWithNestedRows>
1717

18-
| Parameter | Type | Default | Description |
19-
| --------------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20-
| selector | string | `''` | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
21-
| options | object | `null` | |
22-
| options.strict | boolean | `false` | When `true`, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception. |
23-
| 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/). |
18+
| Parameter | Type | Default | Description |
19+
| -------------- | ------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
20+
| selector | string | `''` | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
21+
| options | object | `null` | |
22+
| options.strict | boolean | `false` | When `true`, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception. |
2423

2524
</TableWithNestedRows>
2625

0 commit comments

Comments
 (0)