feat: list step interface

This commit is contained in:
karishmas6
2024-08-08 21:11:02 +05:30
parent cc17935d4b
commit ce78b01025

View File

@@ -14,8 +14,14 @@ interface ScreenshotStep {
fullPage: boolean;
}
interface ListStep {
id: number;
type: 'list';
listSelector: string;
fields: { [key: string]: TextStep };
}
type BrowserStep = TextStep | ScreenshotStep;
type BrowserStep = TextStep | ScreenshotStep | ListStep;
interface SelectorObject {
selector: string;