"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',
        },
      },
    },
  }
}
2 Likes

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/"
3 Likes

also curious about this issue

I’m also curious about this issue I’m facing. Any solution or ticket tracking this so far?

Hi @inancgumus, any progress with this? Thanks.

Hi,

This seems to be generated automatically by Google Chrome. We haven’t yet found a good solution to solve this issue. We’re still looking for a solution.

1 Like

Cool thanks for the fast response. Cheers

1 Like