Launch browser with non incognito mode

Hi Team,

I am trying to simulate a scenario where i have to open new session (without incognig).

Can you help to guide me to get it working

Hi @arvind_patel, welcome to the forum! :wave:

If I understand correctly what you are trying to achieve is to create a new browser window that would inherit the session data already present in the browser instance? Is that correct?

If that is the case, unfortunately this is currently not supported, as, by default, when opening a new page, k6 browser implicitly creates a new browser context. We have a similar issue reported that you can use to keep track of this functionality.

2 Likes

I got a workaround by creating chrome user profile before launching tests

2 Likes