mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-07 21:48:03 +02:00
refactor: partially migrate from launching camoufox directly to launching via playwright
This commit is contained in:
+6
-3
@@ -106,12 +106,15 @@ export interface CamoufoxConfig {
|
||||
additional_args?: string[];
|
||||
env_vars?: Record<string, string>;
|
||||
firefox_prefs?: Record<string, unknown>;
|
||||
// Required options for anti-detect features
|
||||
disableTheming?: boolean;
|
||||
showcursor?: boolean;
|
||||
}
|
||||
|
||||
export interface CamoufoxLaunchResult {
|
||||
id: string;
|
||||
pid?: number;
|
||||
executable_path: string;
|
||||
profile_path: string;
|
||||
port?: number;
|
||||
wsEndpoint?: string;
|
||||
profilePath?: string;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user