fix: review fixes — bump CHROMIUM_VERSION to v145, add colorScheme to JS, guard download fallback

This commit is contained in:
CloakHQ
2026-03-02 02:59:23 +01:00
parent f417fe2530
commit 8eb666885f
7 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ Usage:
from __future__ import annotations
import logging
from typing import Any
from typing import Any, Literal
from urllib.parse import unquote, urlparse, urlunparse
from .config import DEFAULT_VIEWPORT, get_default_stealth_args
@@ -168,7 +168,7 @@ def launch_context(
viewport: dict | None = None,
locale: str | None = None,
timezone_id: str | None = None,
color_scheme: str | None = None,
color_scheme: Literal["light", "dark", "no-preference"] | None = None,
geoip: bool = False,
**kwargs: Any,
) -> Any: