fix: LaunchPersistentContextOptions extends LaunchContextOptions

This commit is contained in:
lilos
2026-03-04 12:31:33 +03:00
parent c44b04a953
commit 8e83b8c399
+1 -11
View File
@@ -34,19 +34,9 @@ export interface LaunchContextOptions extends LaunchOptions {
colorScheme?: "light" | "dark" | "no-preference";
}
export interface LaunchPersistentContextOptions extends LaunchOptions {
export interface LaunchPersistentContextOptions extends LaunchContextOptions {
/** Path to user data directory for persistent profile. */
userDataDir: string;
/** Custom user agent string. */
userAgent?: string;
/** Viewport size. */
viewport?: { width: number; height: number };
/** Browser locale for context, e.g. "en-US". */
locale?: string;
/** Timezone for context, e.g. "America/New_York". */
timezoneId?: string;
/** Color scheme preference. */
colorScheme?: "light" | "dark" | "no-preference";
}
export interface BinaryInfo {