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/sources/next/javascript-api/k6-browser/elementhandle/_index.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ weight: 04
38
38
|[scrollIntoViewIfNeeded([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/scrollintoviewifneeded)| Scrolls the element into view if needed. |
39
39
|[selectOption(values[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/selectoption)| Selects the `select` element's one or more options which match the values. |
40
40
|[selectText([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/selecttext)| Selects the text of the element. |
41
-
|[setChecked(checked[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/setchecked)| Sets the `checkbox` or `radio` input element's value to the specified checked or unchecked state. |
41
+
| setChecked(checked[, options])| Sets the `checkbox` or `radio` input element's value to the specified checked or unchecked state. |
42
42
|[setInputFiles(file[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/setinputfiles)| Sets the file input element's value to the specified files. |
43
43
|[tap(options)](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/tap)| Taps the element. |
44
44
|[textContent()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/textcontent)| Returns the text content of the element. |
@@ -49,8 +49,6 @@ weight: 04
49
49
50
50
## Examples
51
51
52
-
{{< code >}}
53
-
54
52
```javascript
55
53
import { check } from'k6';
56
54
import { browser } from'k6/browser';
@@ -84,7 +82,7 @@ export default async function () {
Copy file name to clipboardExpand all lines: docs/sources/v0.52.x/javascript-api/k6-browser/elementhandle/_index.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ weight: 04
38
38
|[scrollIntoViewIfNeeded([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/scrollintoviewifneeded)| Scrolls the element into view if needed. |
39
39
|[selectOption(values[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/selectoption)| Selects the `select` element's one or more options which match the values. |
40
40
|[selectText([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/selecttext)| Selects the text of the element. |
41
-
|[setChecked(checked[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/setchecked)| Sets the `checkbox` or `radio` input element's value to the specified checked or unchecked state. |
41
+
| setChecked(checked[, options])| Sets the `checkbox` or `radio` input element's value to the specified checked or unchecked state. |
42
42
|[setInputFiles(file[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/setinputfiles)| Sets the file input element's value to the specified files. |
43
43
|[tap(options)](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/tap)| Taps the element. |
44
44
|[textContent()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/elementhandle/textcontent)| Returns the text content of the element. |
@@ -49,8 +49,6 @@ weight: 04
49
49
50
50
## Examples
51
51
52
-
{{< code >}}
53
-
54
52
```javascript
55
53
import { check } from'k6';
56
54
import { browser } from'k6/browser';
@@ -84,7 +82,7 @@ export default async function () {
0 commit comments