feat(companion): implement hosted session automation POC with TDD approach
This commit is contained in:
9
src/packages/application/ports/IBrowserAutomation.ts
Normal file
9
src/packages/application/ports/IBrowserAutomation.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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>;
|
||||
}
|
||||
Reference in New Issue
Block a user