@cityssm/puppeteer-launch
Version:
Launch Puppeteer, falling back to system browsers when the cached ones aren't working or aren't available.
11 lines (10 loc) • 417 B
TypeScript
/**
* Gets the path to the user's Chrome browser.
* @returns The path to the user's Chrome browser, or undefined if not found.
*/
export declare function getUserChromePath(): Promise<string | undefined>;
/**
* Gets the path to the user's Firefox browser.
* @returns The path to the user's Firefox browser, or undefined if not found.
*/
export declare function getUserFirefoxPath(): Promise<string | undefined>;