Support running Chrome 119 from source (#960)

This commit is contained in:
ilike2burnthing
2023-11-13 04:23:06 +00:00
committed by GitHub
parent 5085ca6990
commit 04858c22fd
3 changed files with 13 additions and 9 deletions

View File

@@ -166,10 +166,6 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
driver_exe_path = "/app/chromedriver"
else:
version_main = get_chrome_major_version()
# Fix for Chrome 115
# https://github.com/seleniumbase/SeleniumBase/pull/1967
if int(version_main) > 114:
version_main = 114
if PATCHED_DRIVER_PATH is not None:
driver_exe_path = PATCHED_DRIVER_PATH