Fixed failure message logging - added wait step.
This commit is contained in:
+9
-1
@@ -23,10 +23,18 @@ export interface ContentSelector {
|
||||
scope: string;
|
||||
}
|
||||
|
||||
export type StealthStep =
|
||||
| { type: 'waitMs'; ms: number }
|
||||
| { type: 'waitForElement'; selector: string; timeoutMs?: number }
|
||||
| { type: 'click'; selector: string }
|
||||
| { type: 'scrollToBottom' };
|
||||
|
||||
export interface StealthConfig {
|
||||
enabled: boolean;
|
||||
waitMs: number;
|
||||
/** @deprecated Use `steps` instead. Kept for backward compatibility. */
|
||||
waitMs?: number;
|
||||
addons: string[];
|
||||
steps?: StealthStep[];
|
||||
}
|
||||
|
||||
export interface DownloadConfig {
|
||||
|
||||
Reference in New Issue
Block a user