Skip to content

Commit 0e8f687

Browse files
authored
Fix broken links in browser docs (#1296)
* Fix broken links in browser docs * Remove deprecated devtools flag Devtools option can no longer be set through launch method.
1 parent 60c3a0e commit 0e8f687

File tree

1 file changed

+2
-3
lines changed
  • src/data/markdown/docs/02 javascript api/07 k6-experimental

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ PS C:\k6> k6 run script.js
115115
| [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) | Used to simulate the keyboard interactions with the associated [`Page`](/javascript-api/k6-experimental/browser/page/). |
116116
| [Locator](/javascript-api/k6-experimental/browser/locator/) | The Locator API makes it easier to work with dynamically changing elements. |
117117
| [Mouse](/javascript-api/k6-experimental/browser/mouse/) | Used to simulate the mouse interactions with the associated [`Page`](/javascript-api/k6-experimental/browser/page/). |
118-
| [Page](/javascript-api/k6-experimental/browser/page/) <BWIPT /> | Provides methods to interact with a single tab in a [`Browser`](/javascript-api/k6-experimental/browser/browser-class/). |
118+
| [Page](/javascript-api/k6-experimental/browser/page/) <BWIPT /> | Provides methods to interact with a single tab in a browser. |
119119
| [Request](/javascript-api/k6-experimental/browser/request/) <BWIPT /> | Used to keep track of the request the [`Page`](/javascript-api/k6-experimental/browser/page/) makes. |
120120
| [Response](/javascript-api/k6-experimental/browser/response/) <BWIPT /> | Represents the response received by the [`Page`](/javascript-api/k6-experimental/browser/page/). |
121121
| [Touchscreen](/javascript-api/k6-experimental/browser/touchscreen/) | Used to simulate touch interactions with the associated [`Page`](/javascript-api/k6-experimental/browser/page/). |
@@ -195,8 +195,7 @@ The starting '--' have been omitted from the argument names in these lists.
195195
| no-service-autorun | `true` | Disables the service process from adding itself as an autorun process. This does not delete existing autorun registrations, it just prevents the service from registering a new one. |
196196
| no-startup-window | `true` | Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps). |
197197
| no-default-browser-check | `true` | Disables the default browser check. Useful for UI/browser tests where we want to avoid having the default browser info-bar displayed. |
198-
| headless | `true`/`false` | Run in headless mode, i.e., without a UI or display server dependencies. Set by [launch options](/javascript-api/k6-experimental/browser/browsertype/launch/) (default true). |
199-
| auto-open-devtools-for-tabs | `true`/`false` | This flag makes Chrome auto-open the DevTools window for each tab. It is intended to be used by developers and automation, not to require user interaction for opening DevTools. Set by [launch options](/javascript-api/k6-experimental/browser/browsertype/launch/) (default false). |
198+
| headless | `true`/`false` | Run in headless mode, i.e., without a UI or display server dependencies. Set by `K6_BROWSER_HEADLESS` environment variable (default true). |
200199
| window-size | `800,600` | Sets the initial window size. Provided as string in the format "800,600". |
201200

202201
Additionally if headless mode is set to `true` in [browser options](/javascript-api/k6-experimental/browser#browser_options), the following arguments are also set:

0 commit comments

Comments
 (0)