fix(browser): improve storage state persistence in CDP strategy

Enhance storage state persistence mechanism in CDP browser strategy by:
- Explicitly saving storage state for each browser context
- Using proper file path for storage state
- Removing unnecessary sleep delay

Also includes test improvements:
- Simplified test configurations in playwright tests
- Temporarily disabled some CDP tests
This commit is contained in:
UncleCode
2025-03-23 21:06:41 +08:00
parent 6eeb2e4076
commit 462d5765e2
5 changed files with 21 additions and 34 deletions

View File

@@ -17,7 +17,6 @@ from colorama import Fore, Style, init
from ..async_configs import BrowserConfig
from ..async_logger import AsyncLogger, AsyncLoggerBase
from ..utils import get_home_folder
from .strategies import is_windows
class BrowserProfileManager:
"""Manages browser profiles for Crawl4AI.