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.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ PS C:\k6> k6 run script.js
115
115
|[Keyboard](/javascript-api/k6-experimental/browser/keyboard/)| Used to simulate the keyboard interactions with the associated [`Page`](/javascript-api/k6-experimental/browser/page/). |
116
116
|[Locator](/javascript-api/k6-experimental/browser/locator/)| The Locator API makes it easier to work with dynamically changing elements. |
117
117
|[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. |
119
119
|[Request](/javascript-api/k6-experimental/browser/request/) <BWIPT /> | Used to keep track of the request the [`Page`](/javascript-api/k6-experimental/browser/page/) makes. |
120
120
|[Response](/javascript-api/k6-experimental/browser/response/) <BWIPT /> | Represents the response received by the [`Page`](/javascript-api/k6-experimental/browser/page/). |
121
121
|[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.
195
195
| 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. |
196
196
| no-startup-window |`true`| Does not automatically open a browser window on startup (used when launching Chrome for the purpose of hosting background apps). |
197
197
| 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). |
200
199
| window-size |`800,600`| Sets the initial window size. Provided as string in the format "800,600". |
201
200
202
201
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