mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
- Add setup_test_env, launch_chromium_session, kill_chromium_session to chrome_test_helpers.py for extension tests - Add chromium_session context manager for cleaner test code - Refactor ublock, istilldontcareaboutcookies, twocaptcha tests to use shared helpers (~450 lines removed) - Refactor screenshot, dom, pdf tests to use shared get_test_env and get_lib_dir (~60 lines removed) - Net reduction: 228 lines of duplicate code |
||
|---|---|---|
| .. | ||
| templates | ||
| tests | ||
| config.json | ||
| on_Crawl__20_install_twocaptcha_extension.js | ||
| on_Crawl__25_configure_twocaptcha_extension_options.js | ||