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: src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ Page provides methods to interact with a single tab in a running web browser. A
13
13
|[page.close()](/javascript-api/k6-experimental/browser/page/close/)| Closes a tab that the `page` is associated with. |
14
14
|[page.content()](/javascript-api/k6-experimental/browser/page/content/)| Gets the HTML contents of the page. |
15
15
|[page.context()](/javascript-api/k6-experimental/browser/page/context/)| Gets the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) that the page belongs to. |
16
-
|[page.dblclick(selector[, options])](/javascript-api/k6-experimental/browser/page/dblclick/)| With the [Mouse](https://k6.io/docs/javascript-api/k6-experimental/browser/mouse/), double click on an element matching the provided `selector`. |
16
+
|[page.dblclick(selector[, options])](/javascript-api/k6-experimental/browser/page/dblclick/)| With the [Mouse](/javascript-api/k6-experimental/browser/mouse/), double click on an element matching the provided `selector`. |
17
17
|[page.dispatchEvent(selector, type, eventInit[, options])](/javascript-api/k6-experimental/browser/page/dispatchevent/)| Dispatches HTML DOM event types e.g. `'click'`|
18
18
|[page.$(selector)](/javascript-api/k6-experimental/browser/page/page-$/)| Finds an element matching the specified `selector` within the page. |
19
19
|[page.$$(selector)](/javascript-api/k6-experimental/browser/page/page-$$/) | Finds all elements matching the specified `selector` within the page. |
20
20
|[page.emulateMedia([options])](/javascript-api/k6-experimental/browser/page/emulatemedia/)| Changes the CSS media type and the color scheme feature. |
21
21
|[page.emulateVisionDeficiency(type)](/javascript-api/k6-experimental/browser/page/emulatevisiondeficiency/)| Emulates your website with the specified vision deficiency `type`. |
22
22
|[page.evaluate(pageFunction[, arg])](/javascript-api/k6-experimental/browser/page/evaluate/)| Returns the value of the `pageFunction` invocation. |
23
-
|[page.evaluateHandle(pageFunction[, arg])](/javascript-api/k6-experimental/browser/page/evaluate/)| Returns the value of the `pageFunction` invocation as a [JSHandle](javascript-api/k6-experimental/browser/jshandle/). |
23
+
|[page.evaluateHandle(pageFunction[, arg])](/javascript-api/k6-experimental/browser/page/evaluate/)| Returns the value of the `pageFunction` invocation as a [JSHandle](/javascript-api/k6-experimental/browser/jshandle/). |
24
24
|[page.fill(selector, value[, options])](/javascript-api/k6-experimental/browser/page/fill/)| Fill an `input`, `textarea` or `contenteditable` element with the provided value. |
25
25
|[page.focus(selector[, options])](/javascript-api/k6-experimental/browser/page/focus/)| Fetches an element with `selector` and focuses on it. |
26
26
|[page.frames()](/javascript-api/k6-experimental/browser/page/frames/)| Returns an array of frames on the page. |
@@ -34,15 +34,15 @@ Page provides methods to interact with a single tab in a running web browser. A
34
34
|[page.isClosed()](/javascript-api/k6-experimental/browser/page/isclosed/) <BWIPTid="878"/> | Checks if the page has been closed. |
35
35
|[page.isDisabled(selector[, options])](/javascript-api/k6-experimental/browser/page/isdisabled/)| Checks if the element is `disabled`. |
36
36
|[page.isEditable(selector[, options])](/javascript-api/k6-experimental/browser/page/iseditable/)| Checks if the element is `editable`. |
37
-
|[page.isEnabled(selector[, options])](/javascript-api/k6-experimental/browser/page/isenabbled/)| Checks if the element is `enabled`. |
37
+
|[page.isEnabled(selector[, options])](/javascript-api/k6-experimental/browser/page/isenabled/)| Checks if the element is `enabled`. |
38
38
|[page.isHidden(selector[, options])](/javascript-api/k6-experimental/browser/page/ishidden/)| Checks if the element is `hidden`. |
39
39
|[page.isVisible(selector[, options])](/javascript-api/k6-experimental/browser/page/isvisible/)| Checks if the element is `visible`. |
40
-
|[page.keyboard](/javascript-api/k6-experimental/browser/page/keyboard/)| Returns the [Keyboard](javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page. |
40
+
|[page.keyboard](/javascript-api/k6-experimental/browser/page/keyboard/)| Returns the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page. |
41
41
|[page.locator(selector)](/javascript-api/k6-experimental/browser/page/locator/)| Returns a [Locator](/javascript-api/k6-experimental/browser/locator/) for the given `selector`. |
42
-
|[page.mainFrame()](/javascript-api/k6-experimental/browser/page/mainframe/)| Returns the page's main [Frame](https://k6.io/docs/javascript-api/k6-experimental/browser/frame/). |
43
-
|[page.mouse](/javascript-api/k6-experimental/browser/page/mouse/)| Returns the [Mouse](javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page. |
42
+
|[page.mainFrame()](/javascript-api/k6-experimental/browser/page/mainframe/)| Returns the page's main [Frame](/javascript-api/k6-experimental/browser/frame/). |
43
+
|[page.mouse](/javascript-api/k6-experimental/browser/page/mouse/)| Returns the [Mouse](/javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page. |
44
44
|[page.opener()](/javascript-api/k6-experimental/browser/page/opener/)| Returns the `page` that opened the current `page`. |
45
-
|[page.press(selector, key[, options])](/javascript-api/k6-experimental/browser/page/press/)| Focuses the element, and then presses the given `key` on the [Keyboard](https://k6.io/docs/javascript-api/k6-experimental/browser/keyboard/). |
45
+
|[page.press(selector, key[, options])](/javascript-api/k6-experimental/browser/page/press/)| Focuses the element, and then presses the given `key` on the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/). |
46
46
|[page.reload([options])](/javascript-api/k6-experimental/browser/page/reload/)| Reloads the current page. |
47
47
|[page.screenshot([options])](/javascript-api/k6-experimental/browser/page/screenshot/)| Returns a buffer with the captured screenshot from the web browser. |
48
48
|[page.selectOption(selector, values[, options])](/javascript-api/k6-experimental/browser/page/selectoption/)| Selects one or more options which match the values from a `<select>` element. |
@@ -64,4 +64,4 @@ Page provides methods to interact with a single tab in a running web browser. A
64
64
|[page.waitForNavigation([options])](/javascript-api/k6-experimental/browser/page/waitfornavigation/)| Waits for the given navigation lifecycle event to occur and returns the main resource response. |
65
65
|[page.waitForSelector(selector[, options])](/javascript-api/k6-experimental/browser/page/waitforselector/)| Returns when element specified by selector satisfies `state` option. |
66
66
|[page.waitForTimeout(timeout)](/javascript-api/k6-experimental/browser/page/waitfortimeout/)| Waits for the given `timeout` in milliseconds. |
67
-
|[page.workers()](/javascript-api/k6-experimental/browser/page/workers/)| Returns an array of the dedicated [WebWorkers](https://k6.io/docs/javascript-api/k6-experimental/browser/worker/) associated with the page. |
67
+
|[page.workers()](/javascript-api/k6-experimental/browser/page/workers/)| Returns an array of the dedicated [WebWorkers](/javascript-api/k6-experimental/browser/worker/) associated with the page. |
Copy file name to clipboardExpand all lines: src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.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
@@ -15,7 +15,7 @@ The method finds an element matching the specified selector within the page. If
15
15
16
16
| Type | Description |
17
17
| ---- | ----------- |
18
-
| null \|[ElementHandle](javascript-api/k6-experimental/browser/keyboard/)| Returns `ElementHandle` when a matching element is found. Else, it returns `null`. |
18
+
| null \|[ElementHandle](/javascript-api/k6-experimental/browser/elementhandle/)| Returns `ElementHandle` when a matching element is found. Else, it returns `null`. |
Copy file name to clipboardExpand all lines: src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.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
@@ -15,7 +15,7 @@ The method finds all elements matching the specified selector within the page. I
15
15
16
16
| Type | Description |
17
17
| ---- | ----------- |
18
-
| null \|[ElementHandle](javascript-api/k6-experimental/browser/keyboard/)[]| Returns an array of `ElementHandle` when multiple elements are found. Else, it returns `null`. |
18
+
| null \|[ElementHandle](/javascript-api/k6-experimental/browser/elementhandle/)[]| Returns an array of `ElementHandle` when multiple elements are found. Else, it returns `null`. |
0 commit comments