feat: add iframe selector type for selectors
This commit is contained in:
@@ -129,6 +129,11 @@ export interface BaseActionInfo {
|
|||||||
hasOnlyText: boolean;
|
hasOnlyText: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface IframeSelector {
|
||||||
|
full: string;
|
||||||
|
isIframe: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds all the possible css selectors that has been found for an element.
|
* Holds all the possible css selectors that has been found for an element.
|
||||||
* @category Types
|
* @category Types
|
||||||
@@ -143,6 +148,7 @@ export interface Selectors {
|
|||||||
hrefSelector: string|null;
|
hrefSelector: string|null;
|
||||||
accessibilitySelector: string|null;
|
accessibilitySelector: string|null;
|
||||||
formSelector: string|null;
|
formSelector: string|null;
|
||||||
|
iframeSelector: IframeSelector|null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -156,7 +162,7 @@ export interface BaseAction extends BaseActionInfo{
|
|||||||
associatedActions: ActionType[];
|
associatedActions: ActionType[];
|
||||||
inputType: string | undefined;
|
inputType: string | undefined;
|
||||||
value: string | undefined;
|
value: string | undefined;
|
||||||
selectors: { [key: string]: string | null };
|
selectors: Selectors;
|
||||||
timestamp: number;
|
timestamp: number;
|
||||||
isPassword: boolean;
|
isPassword: boolean;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user