Separate session for each window

28,989

Your goal will be start a Chrome instance with a new user data directory. The cookies will be isolated in each instance. In the extension to implement a way to reach the same goal as this command on cmd:

chrome.exe --user-data-dir="C:\temp\user1"
Share:
28,989
Mukul Jain
Author by

Mukul Jain

Updated on March 28, 2020

Comments

  • Mukul Jain
    Mukul Jain about 4 years

    I am trying to create an extension where each window of chrome has its own session. We used incognito earlier, but the problem is that while the main window and the incognito window have separate sessions, the session is shared between the various incognito windows.

    Is there any way of configuring chrome to use a separate session every time an incognito window is opened?