diff --git a/senpwai/scrapers/test.py b/senpwai/scrapers/test.py index f95188d..deb7a0a 100644 --- a/senpwai/scrapers/test.py +++ b/senpwai/scrapers/test.py @@ -2,6 +2,7 @@ from shutil import rmtree as shutil_rmtree import sys from time import time as current_time +import time from typing import Any, Callable, cast from common.selenium import DRIVER_MANAGER, BrowserName @@ -558,6 +559,7 @@ def test_dub_available(site: str, target_result: list[str]) -> tuple[bool, str]: def run_tests(args: ArgParser): DRIVER_MANAGER.setup_driver(BrowserName.chrome) DRIVER_MANAGER.driver.get(PAHE_HOME_URL) + time.sleep(10) print(DRIVER_MANAGER.driver.page_source) print(DRIVER_MANAGER.driver.get_cookies()) return