feat: implement universal runner for standard and GOST TLS

- Add smart two-phase TLS detection with caching in tests/utils/tls.py

- Add auto-discovery for Chromium-GOST and Yandex.Browser

- Add --tls-mode and --ignore-https-errors CLI options

- Update browser_page context with ignore_https_errors and unified viewport

- Add unit tests in tests/utils/test_tls.py

- Update README.md and .env.example
This commit is contained in:
VolandSZ
2026-09-03 00:02:36 +03:00
parent f511102289
commit cdca9d6003
8 changed files with 515 additions and 30 deletions

3
tests/utils/__init__.py Normal file
View File

@ -0,0 +1,3 @@
from .tls import detect_tls_mode, launch_browser_for_tls
__all__ = ["detect_tls_mode", "launch_browser_for_tls"]