rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
15 lines (14 loc) • 579 B
text/typescript
import type { Browser } from "puppeteer-core";
import { SmokeTestOptions } from "./types.mjs";
/**
* Launch a browser instance
*/
export declare function launchBrowser(browserPath?: string, headless?: boolean): Promise<Browser>;
/**
* Check if a server is up, trying localhost and loopback host variants.
*/
export declare function checkServerUp(baseUrl: string, customPath?: string, retries?: number, includeRoot?: boolean): Promise<string>;
/**
* Get the browser executable path
*/
export declare function getBrowserPath(testOptions?: SmokeTestOptions): Promise<string>;