Skip to content

Enable the browser module in setup() #5454

@faevourite

Description

@faevourite

Feature Description

A common use case for this is to perform multi-step authentication to retrieve a token, which is then reused by all VUs for the duration of the test.

The workaround at the moment: write a separate playwright/puppeteer script that outputs the token on stdout and call it via xk6-exec inside setup().

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions