diff --git a/docs/sources/k6/next/javascript-api/k6-browser/page/_index.md b/docs/sources/k6/next/javascript-api/k6-browser/page/_index.md index 3b54fddda1..2de7a19d7f 100644 --- a/docs/sources/k6/next/javascript-api/k6-browser/page/_index.md +++ b/docs/sources/k6/next/javascript-api/k6-browser/page/_index.md @@ -48,6 +48,7 @@ Page provides methods to interact with a single tab in a running web browser. A | [opener()](https://grafana.com/docs/k6//javascript-api/k6-browser/page/opener) | Returns the `page` that opened the current `page`. | | [press(selector, key[, options])](https://grafana.com/docs/k6//javascript-api/k6-browser/page/press/) | Focuses the element, and then presses the given `key` on the [Keyboard](https://grafana.com/docs/k6//javascript-api/k6-browser/keyboard). | | [reload([options])](https://grafana.com/docs/k6//javascript-api/k6-browser/page/reload/) | Reloads the current page. | +| [route(url, handler)](https://grafana.com/docs/k6//javascript-api/k6-browser/page/route/) | Adds a route to the page to modify network requests made by that page. | | [screenshot([options])](https://grafana.com/docs/k6//javascript-api/k6-browser/page/screenshot/) | Returns a buffer with the captured screenshot from the web browser. | | [selectOption(selector, values[, options])](https://grafana.com/docs/k6//javascript-api/k6-browser/page/selectoption/) | Selects one or more options which match the values from a `