Skip to content

Commit ee675b5

Browse files
committed
fix: update broken links on page api docs
1 parent 2fcc436 commit ee675b5

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Page provides methods to interact with a single tab in a running web browser. A
1313
| [page.close()](/javascript-api/k6-experimental/browser/page/close/) | Closes a tab that the `page` is associated with. |
1414
| [page.content()](/javascript-api/k6-experimental/browser/page/content/) | Gets the HTML contents of the page. |
1515
| [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`. |
1717
| [page.dispatchEvent(selector, type, eventInit[, options])](/javascript-api/k6-experimental/browser/page/dispatchevent/) | Dispatches HTML DOM event types e.g. `'click'` |
1818
| [page.$(selector)](/javascript-api/k6-experimental/browser/page/page-$/) | Finds an element matching the specified `selector` within the page. |
1919
| [page.$$(selector)](/javascript-api/k6-experimental/browser/page/page-$$/) | Finds all elements matching the specified `selector` within the page. |
2020
| [page.emulateMedia([options])](/javascript-api/k6-experimental/browser/page/emulatemedia/) | Changes the CSS media type and the color scheme feature. |
2121
| [page.emulateVisionDeficiency(type)](/javascript-api/k6-experimental/browser/page/emulatevisiondeficiency/) | Emulates your website with the specified vision deficiency `type`. |
2222
| [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/). |
2424
| [page.fill(selector, value[, options])](/javascript-api/k6-experimental/browser/page/fill/) | Fill an `input`, `textarea` or `contenteditable` element with the provided value. |
2525
| [page.focus(selector[, options])](/javascript-api/k6-experimental/browser/page/focus/) | Fetches an element with `selector` and focuses on it. |
2626
| [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
3434
| [page.isClosed()](/javascript-api/k6-experimental/browser/page/isclosed/) <BWIPT id="878"/> | Checks if the page has been closed. |
3535
| [page.isDisabled(selector[, options])](/javascript-api/k6-experimental/browser/page/isdisabled/) | Checks if the element is `disabled`. |
3636
| [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`. |
3838
| [page.isHidden(selector[, options])](/javascript-api/k6-experimental/browser/page/ishidden/) | Checks if the element is `hidden`. |
3939
| [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. |
4141
| [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. |
4444
| [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/). |
4646
| [page.reload([options])](/javascript-api/k6-experimental/browser/page/reload/) | Reloads the current page. |
4747
| [page.screenshot([options])](/javascript-api/k6-experimental/browser/page/screenshot/) | Returns a buffer with the captured screenshot from the web browser. |
4848
| [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
6464
| [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. |
6565
| [page.waitForSelector(selector[, options])](/javascript-api/k6-experimental/browser/page/waitforselector/) | Returns when element specified by selector satisfies `state` option. |
6666
| [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. |

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The method finds an element matching the specified selector within the page. If
1515

1616
| Type | Description |
1717
| ---- | ----------- |
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`. |
1919

2020
### Example
2121

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The method finds all elements matching the specified selector within the page. I
1515

1616
| Type | Description |
1717
| ---- | ----------- |
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`. |
1919

2020
### Example
2121

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'keyboard'
33
excerpt: 'Browser module: page.keyboard method'
44
---
55

6-
Returns the [Keyboard](javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page.
6+
Returns the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page.
77

88
### Returns
99

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'mouse'
33
excerpt: 'Browser module: page.mouse method'
44
---
55

6-
Returns the [Mouse](javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page.
6+
Returns the [Mouse](/javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page.
77

88
### Returns
99

@@ -27,4 +27,4 @@ export default async function () {
2727
}
2828
```
2929

30-
</CodeGroup>
30+
</CodeGroup>ß

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ excerpt: 'Browser module: page.selectOption(selector, values[, options]) method'
55

66
<Blockquote mod="warning" title="">
77

8-
Use locator-based [`locator.selectOptions()`](/javascript-api/k6-experimental/browser/locator/selectoptions/) instead.
8+
Use locator-based [`locator.selectOption()`](/javascript-api/k6-experimental/browser/locator/selectoption/) instead.
99

1010
</Blockquote>
1111

src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This method returns an array of the dedicated [WebWorkers](/javascript-api/k6-ex
99

1010
| Type | Description |
1111
| ---- | ----------- |
12-
| [WebWorkers](/javascript-api/k6-experimental/browser/workers/)[] | Array of `WebWorkers` associated with the page. |
12+
| [WebWorkers](/javascript-api/k6-experimental/browser/worker/)[] | Array of `WebWorkers` associated with the page. |
1313

1414
### Example
1515

0 commit comments

Comments
 (0)