9 lines
389 B
TypeScript
9 lines
389 B
TypeScript
import { StepId } from '../../domain/value-objects/StepId';
|
|
|
|
export interface IBrowserAutomation {
|
|
navigateToPage(url: string): Promise<any>;
|
|
fillFormField(fieldName: string, value: string): Promise<any>;
|
|
clickElement(selector: string): Promise<any>;
|
|
waitForElement(selector: string, maxWaitMs?: number): Promise<any>;
|
|
handleModal(stepId: StepId, action: string): Promise<any>;
|
|
} |