Fix looping challenges. #1036 (#1065)

Co-authored-by: Tadas Gedgaudas <tg@infrahub.io>
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Tadas Gedgaudas
2024-02-21 01:41:02 +02:00
committed by GitHub
parent 043f18b231
commit 800866d033
2 changed files with 24 additions and 6 deletions

View File

@@ -164,6 +164,8 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
# For normal headless mode:
# options.add_argument('--headless')
options.add_argument("--auto-open-devtools-for-tabs")
# if we are inside the Docker container, we avoid downloading the driver
driver_exe_path = None
version_main = None