UNPKG

camoufox

Version:

JavaScript port of Camoufox - a tool for Firefox anti-fingerprinting and browser automation.

10 lines (9 loc) 266 B
import { launchPath } from './pkgman.js'; export async function checkBrowser(launch_options) { if (launch_options.executable_path) { return; } //检查默认目录 const exePath = launchPath(); launch_options.executable_path = exePath; }