UNPKG

@servant/servant-playwright

Version:

Servant testing that use playwright to running browsers for tests.

13 lines (12 loc) 533 B
import * as pw from "playwright"; import { webkit } from "./browsers/webkit"; import { firefox } from "./browsers/firefox"; import { chromium } from "./browsers/chromium"; export { pw, webkit, firefox, chromium }; export type BrowserInfo = { name: string; rand: string; }; export declare function createBrowserInfo(name: string, rand: string): BrowserInfo; export declare function createUrl(port: number, rand: string): string; export declare function createName(browser: string, device?: string | null): string;