Merge pull request #3635 from seleniumbase/cdp-mode-patch-44

CDP Mode: Patch 44
This commit is contained in:
Michael Mintz 2025-03-28 23:22:30 -04:00 committed by GitHub
commit 13c63fcca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View File

@ -1,2 +1,2 @@
# seleniumbase package # seleniumbase package
__version__ = "4.36.3" __version__ = "4.36.4"

View File

@ -460,8 +460,10 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
"chrome-extension://" "chrome-extension://"
): ):
# https://issues.chromium.org/issues/396611138 # https://issues.chromium.org/issues/396611138
# (Uncomment below when resolved) # (Remove the Linux conditional when resolved)
# self.close() # (So that close() is always called)
if "linux" in sys.platform:
self.close()
if self.service.is_connectable(): if self.service.is_connectable():
self.stop_client() self.stop_client()
self.service.stop() self.service.stop()
@ -499,8 +501,10 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
"chrome-extension://" "chrome-extension://"
): ):
# https://issues.chromium.org/issues/396611138 # https://issues.chromium.org/issues/396611138
# (Uncomment below when resolved) # (Remove the Linux conditional when resolved)
# self.close() # (So that close() is always called)
if "linux" in sys.platform:
self.close()
if self.service.is_connectable(): if self.service.is_connectable():
self.stop_client() self.stop_client()
self.service.stop() self.service.stop()