We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124e61e commit 8358ef9Copy full SHA for 8358ef9
1 file changed
seleniumbase/core/browser_launcher.py
@@ -6011,8 +6011,18 @@ def get_local_driver(
6011
time.sleep(0.003)
6012
driver.switch_to.window(driver.window_handles[0])
6013
6014
- driver.connect()
6015
- time.sleep(0.003)
+ # seleniumbase/SeleniumBase/discussions/4190
+ if getattr(sb_config, "skip_133_patch", None):
6016
+ # To skip the connect() patch for Chrome 133+:
6017
+ # from seleniumbase import config as sb_config
6018
+ # sb_config.skip_133_patch = True
6019
+ # (Do the above before launching the browser.)
6020
+ pass
6021
+ else:
6022
+ # This fixes an issue on Chrome 133+
6023
+ # (Some people might not need it though.)
6024
+ driver.connect()
6025
+ time.sleep(0.003)
6026
if mobile_emulator:
6027
uc_metrics = {}
6028
if (
0 commit comments