Can't run browser tests with K6_BROWSER_ENABLED=true k6 run script.js

Have you tried wrapping true in '' such as:

PS C:\k6> $env:K6_BROWSER_ENABLED='true' ; k6 run script.js

?

2 Likes