@monitoro/herd
Version:
Automate your browser, build AI web tools and MCP servers with Monitoro Herd
47 lines (46 loc) • 943 B
TypeScript
export interface Tab {
id: string;
url: string;
title: string;
active: boolean;
}
export interface TabUpdateData {
url?: string;
title?: string;
active?: boolean;
}
export interface ElementInfo {
textContent: string | null;
isVisible: boolean;
}
export interface FindOptions {
timeout?: number;
visible?: boolean;
}
export interface ClickOptions {
button?: 'left' | 'right';
clickCount?: number;
delay?: number;
}
export interface FillOptions {
delay?: number;
clearFirst?: boolean;
}
export interface WaitForOptions {
timeout?: number;
state?: 'visible' | 'hidden' | 'attached' | 'detached';
}
export interface DeviceInfo {
id: string;
deviceId: string;
name: string;
type: 'browser' | 'headless';
status: string;
lastActive: string;
}
export interface UserInfo {
id: string;
email: string;
createdAt: string;
natsUrl?: string;
}