Skip to content

Commit 13c63fc

Browse files
authored
Merge pull request #3635 from seleniumbase/cdp-mode-patch-44
CDP Mode: Patch 44
2 parents b701e20 + 7860a86 commit 13c63fc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

seleniumbase/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.36.3"
2+
__version__ = "4.36.4"

seleniumbase/undetected/__init__.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,10 @@ def reconnect(self, timeout=0.1):
460460
"chrome-extension://"
461461
):
462462
# https://issues.chromium.org/issues/396611138
463-
# (Uncomment below when resolved)
464-
# self.close()
463+
# (Remove the Linux conditional when resolved)
464+
# (So that close() is always called)
465+
if "linux" in sys.platform:
466+
self.close()
465467
if self.service.is_connectable():
466468
self.stop_client()
467469
self.service.stop()
@@ -499,8 +501,10 @@ def connect(self):
499501
"chrome-extension://"
500502
):
501503
# https://issues.chromium.org/issues/396611138
502-
# (Uncomment below when resolved)
503-
# self.close()
504+
# (Remove the Linux conditional when resolved)
505+
# (So that close() is always called)
506+
if "linux" in sys.platform:
507+
self.close()
504508
if self.service.is_connectable():
505509
self.stop_client()
506510
self.service.stop()

0 commit comments

Comments
 (0)