1.0.5 • Published 8 months ago

create-multi-chrome v1.0.5

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

create-multi-chrome

Implement multi-instance opening of Google Chrome in windows (independent environment, independent cookies)

Setup

Install the dependencies:

pnpm install create-multi-chrome --save

Usage

import { genChromeLnkOptions, makeSync } from "create-multi-chrome";

async function run() {
  for (let i = 0; i < 1; i++) {
    try {
      makeSync(
        genChromeLnkOptions({
          filepath: `C:/Program Files/Google/Chrome/Application/chrome.exe`,
          storagePath: `E:/Program Files/GoogleChrome${i}`,
          linkName: `Google Chrome${i}`,
        })
      );
    } catch (error) {
      console.error(error);
    }
  }
}

run();

run the code above, you will get a new chrome instance in your windows.

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago

0.0.1

9 months ago