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/translated-guides/en/03 Using k6 browser/01 Overview.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
@@ -13,7 +13,7 @@ This module aims to provide rough compatibility with the Playwright API, so you
13
13
14
14
<Blockquotemod="note"title="">
15
15
16
-
To work with the browser module, make sure you are using the latest [k6 version](https://github.com/grafana/k6/releases).
16
+
To work with the browser module, make sure you are using the latest [k6 version](https://github.com/grafana/k6/releases), and install a Chromium-based browser on your machine (such as [Google Chrome](https://www.google.com/chrome/)).
17
17
18
18
</Blockquote>
19
19
Collapse file: src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md
Copy file name to clipboardExpand all lines: src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,8 @@ Now, all that is needed is to specify the `browser.type` within the [scenario op
112
112
113
113
With the removal of the `chromium.launch()` and `chromium.connect()` methods, setting browsers options is now done by using environment variables. For more information, refer to [Browser Module Options](/javascript-api/k6-experimental/browser/#browser-module-options).
docker run --rm -i -e K6_BROWSER_WS_URL='REMOTE_URL' grafana/k6:master-with-browser run - <script.js
204
+
```
205
+
206
+
```bash
207
+
C:\k6>set"K6_BROWSER_WS_URL='REMOTE_URL'"&&set"K6_BROWSER_TIMEOUT='60s' && k6 run script.js
208
+
```
209
+
210
+
```bash
211
+
PS C:\k6> $env:K6_BROWSER_WS_URL='REMOTE_URL' ; k6 run script.js
212
+
```
213
+
214
+
</CodeGroup>
215
+
164
216
<Blockquote mod="note" title="">
165
217
166
218
The following browser options are no longer supported: `devtools`, `env`, and `proxy` since they weren't providing much value. `slowMo` has been temporarily removed, and we're working on reintroducing it.
0 commit comments