30 lines
601 B
TypeScript
30 lines
601 B
TypeScript
export interface AutomationResult {
|
|
success: boolean;
|
|
error?: string;
|
|
metadata?: Record<string, unknown>;
|
|
}
|
|
|
|
export interface NavigationResult extends AutomationResult {
|
|
url: string;
|
|
loadTime: number;
|
|
}
|
|
|
|
export interface FormFillResult extends AutomationResult {
|
|
fieldName: string;
|
|
valueSet: string;
|
|
}
|
|
|
|
export interface ClickResult extends AutomationResult {
|
|
target: string;
|
|
}
|
|
|
|
export interface WaitResult extends AutomationResult {
|
|
target: string;
|
|
waitedMs: number;
|
|
found: boolean;
|
|
}
|
|
|
|
export interface ModalResult extends AutomationResult {
|
|
stepId: number;
|
|
action: string;
|
|
} |