- Replace networkidle with domcontentloaded + 5s race in goto, click,
and session_restore — SPAs with persistent connections (LinkedIn,
Gmail) never reach networkidle
- Normalize .www. cookie domains in Firefox importer — Playwright
silently drops cookies with .www.example.com domains
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Some Firefox cookies store expiry in milliseconds instead of seconds.
Detect values beyond year 2100 and convert to seconds. Also map
zero/negative expiry to -1 for Playwright session cookies.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>