navflow-browser-server
Version:
Standalone Playwright browser server for NavFlow - enables browser automation with API key authentication, workspace device management, session sync, and requires Node.js v22+
46 lines • 1.3 kB
TypeScript
export declare class PlaywrightInstaller {
private static isInstalling;
private static installationComplete;
private static readonly REQUIRED_NODE_VERSION;
/**
* Check if Node.js version meets requirements
*/
static checkNodeVersion(): {
valid: boolean;
current: string;
required: string;
};
/**
* Display Node.js version error and exit
*/
static displayNodeVersionError(): void;
/**
* Check if Playwright browsers are installed
*/
static arePlaywrightBrowsersInstalled(): Promise<boolean>;
/**
* Install Playwright browsers
*/
static installPlaywrightBrowsers(): Promise<void>;
/**
* Wait for ongoing installation to complete
*/
private static waitForInstallation;
/**
* Check and install Playwright browsers if needed
*/
static ensurePlaywrightBrowsers(): Promise<void>;
/**
* Get system requirements info
*/
static getSystemInfo(): Promise<{
nodeVersion: string;
playwrightVersion: string | null;
browsersInstalled: boolean;
}>;
/**
* Display system requirements and installation status
*/
static displaySystemStatus(): Promise<void>;
}
//# sourceMappingURL=PlaywrightInstaller.d.ts.map