Fix for Chrome / Chromium version > 114

This commit is contained in:
ngosang
2023-07-23 18:09:46 +02:00
parent 0edc50e271
commit a1c36f60d2
2 changed files with 8 additions and 2 deletions

View File

@@ -451,9 +451,11 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
)
self.browser_pid = browser.pid
# Fix for Chrome 115
# https://github.com/seleniumbase/SeleniumBase/pull/1967
service = selenium.webdriver.chromium.service.ChromiumService(
self.patcher.executable_path
executable_path=self.patcher.executable_path,
service_args=["--disable-build-check"]
)
super(Chrome, self).__init__(