This commit is contained in:
HuangHai
2026-01-20 14:21:50 +08:00
parent d89388ab51
commit 733ff659fd
6 changed files with 14 additions and 3 deletions

View File

@@ -24,6 +24,10 @@ try:
except ImportError:
PLAYWRIGHT_AVAILABLE = False
logger.warning("Playwright未安装,自动Cookie管理不可用")
# Define dummy types for type hinting to avoid NameError
Browser = Any
BrowserContext = Any
Page = Any
@dataclass