Skip to content

Document windows commands explicitly in the browser docs #1078

@immavalls

Description

@immavalls

Based on https://community.k6.io/t/issue-using-k6-browser-unknown-module-k6-x-browser/6147/2?u=eyeveebe and some discussions I have had in the community slack (now https://community.k6.io/t/error-typeerror-value-is-not-an-object-undefined-when-i-run-the-example/6175), it would probably be good to document the Windows commands in the getting started guides explicitly.

https://k6.io/docs/javascript-api/k6-browser/get-started/running-browser-tests/

Instead of only:

image

Add the equivalents, similar to what we have in https://k6.io/docs/using-k6/environment-variables/#configure-k6-options-with-environment-variables.

image

image

Users getting started with the browser don't necessarily go to https://k6.io/docs/using-k6/environment-variables/#configure-k6-options-with-environment-variables

Alternatively mention that environment variables might be set differently based on the OS and link to https://k6.io/docs/using-k6/environment-variables/#configure-k6-options-with-environment-variables

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions