Error while running a browser test

Hi all, while trying to run a browser test (docker) i get this error:
GoError: launching browser: browser process shutdown unexpectedly before establishing a connection: read |0: file already closed in code :

  const browser = await chromium.launch({
    headless = true,
    timeout: '1m'

Other api tests not using the browser are working fine. What am i missing?

Hi @nicoskk,

Thanks for the code snippet. Unfortunately I’ll need some more information to help you:

  1. the version of k6 you are you using;
  2. the OS and version you are running k6 on;
  3. the whole test script that exhibits this issue, preferably pointing to a publicly accessible website;
  4. full output of the test run.