Fixed failure message logging - added wait step.

This commit is contained in:
qwsdcvghyu89
2026-06-17 07:56:11 +10:00
parent a5145c6902
commit a10437c217
4 changed files with 60 additions and 13 deletions
+9 -1
View File
@@ -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 {