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/k6/next/javascript-api/k6-browser/page/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Page provides methods to interact with a single tab in a running web browser. A
48
48
|[isHidden(selector[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/ishidden/)| Checks if the element is `hidden`. |
49
49
|[isVisible(selector[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/isvisible/)| Checks if the element is `visible`. |
50
50
|[keyboard](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/keyboard)| Returns the [Keyboard](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/keyboard) instance to interact with a virtual keyboard on the page. |
51
-
|[locator(selector)](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/locator)| Returns a [Locator](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator) for the given `selector`. |
51
+
|[locator(selector[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/locator)| Returns a [Locator](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator) for the given `selector`. |
52
52
|[mainFrame()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/mainframe)| Returns the page's main [Frame](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/frame). |
53
53
|[mouse](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/mouse)| Returns the [Mouse](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/mouse) instance to interact with a virtual mouse on the page. |
54
54
|[on(event, handler)](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/page/on)| Registers a handler to be called whenever the specified event occurs. |
0 commit comments