donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
19 lines • 513 B
TypeScript
/**
* This type is expected to match the shape of entries in the `assets/devices.json` file.
*/
export type BrowserDevice = {
readonly defaultBrowserType: string;
readonly userAgent?: string;
readonly viewport?: {
width: number;
height: number;
};
readonly screen?: {
width: number;
height: number;
};
readonly deviceScaleFactor?: number;
readonly isMobile?: boolean;
readonly hasTouch?: boolean;
};
//# sourceMappingURL=BrowserDevice.d.ts.map