"Third-party cookie will be blocked. Learn more in the Issues tab." browser_source=other line_number=0 source=browser

I am using K6 latest version and updated scripts and customized docker image from k6. Everything is woking fine in my local. If I run with docker image using k6-operator I am getting following error.

My application login is required third party cookies.

level=warning msg=“Third-party cookie will be blocked. Learn more in the Issues tab.” browser_source=other line_number=0 source=browser

Please share If i have to send any additional config options at

export const options = {
  scenarios: {
    ui: {
      executor: 'shared-iterations',
      iterations: 5,
      options: {
        browser: {
          type: 'chromium',
        },
      },
    },
  }
}
1 Like

Hi @ppyneni,

Yes, it would be great if you could share with us the test script and the HTML document we can run the script against.

Thanks.

Hi, @inancgumus!
I also reproduce this error (WARN). Can it be disabled?
An example with a website grafana.com:

import { browser } from 'k6/experimental/browser';

export const options = {
    scenarios: {
        ui: {
            executor: 'shared-iterations',
            options: {
                browser: {
                    type: 'chromium',
                },
            },
        },
    },
}

export default async function () {
    const page = browser.newPage();
    try {
        await page.goto('https://grafana.com/');
    } finally {
        page.close();
    }
}

Output:

Third-party cookie will be blocked. Learn more in the Issues tab.  browser_source=other line_number=0 source=browser url="https://grafana.com/"
1 Like

also curious about this issue