Skip to content

Commit a16f34c

Browse files
ankur22ka3de
andcommitted
Apply suggestions from code review
Co-authored-by: ka3de <[email protected]>
1 parent e2c6693 commit a16f34c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Checks if the element is `hidden`.
1111

1212
| Type | Description |
1313
| ---- | ------------------------------------------------ |
14-
| bool | `true` if the element is `hidden`, else `false`. |
14+
| bool | `true` if the element is `hidden`, `false` otherwise. |
1515

1616
### Example
1717

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Checks if the element is `visible`.
1111

1212
| Type | Description |
1313
| ---- | ------------------------------------------------- |
14-
| bool | `true` if the element is `visible`, else `false`. |
14+
| bool | `true` if the element is `visible`, `false` otherwise. |
1515

1616
### Example
1717

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ Checks if the element is `hidden`.
1717

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

2424
</TableWithNestedRows>
2525

2626
### Returns
2727

2828
| Type | Description |
2929
| ---- | ------------------------------------------------ |
30-
| bool | `true` if the element is `hidden`, else `false`. |
30+
| bool | `true` if the element is `hidden`, `false` otherwise. |
3131

3232
### Example
3333

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ Checks if the element is `visible`.
1717

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

2424
</TableWithNestedRows>
2525

2626
### Returns
2727

2828
| Type | Description |
2929
| ---- | ------------------------------------------------- |
30-
| bool | `true` if the element is `visible`, else `false`. |
30+
| bool | `true` if the element is `visible`, `false` otherwise. |
3131

3232
### Example
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Checks if the element is `hidden`.
1717

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

2424
</TableWithNestedRows>
2525

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Checks if the element is `visible`.
1717

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

2424
</TableWithNestedRows>
2525

0 commit comments

Comments
 (0)