You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SeleniumBase with uc=True and activate_cdp_mode()
with SB(
uc=True,
is_mobile=isMobile,
browser="chrome",
extension_dir=extension_path,
user_data_dir=profile_path,
chromium_arg=var_chromium_arg,
settings_file="./MySetting.py",
pls="none",
disable_beforeunload=True,
skip_js_waits=True,
) as sb:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm using SeleniumBase with uc=True and activate_cdp_mode()
with SB(
uc=True,
is_mobile=isMobile,
browser="chrome",
extension_dir=extension_path,
user_data_dir=profile_path,
chromium_arg=var_chromium_arg,
settings_file="./MySetting.py",
pls="none",
disable_beforeunload=True,
skip_js_waits=True,
) as sb:
Everything works fine but sometimes when I leave the browser running for a long time it gives this error and browser stops
Is there a solution to this problem please?
[DEBUG ] < CLOSE 1000 (OK) [2 bytes]
[DEBUG ] < EOF
[DEBUG ] > EOF
[DEBUG ] = connection is CLOSED
[DEBUG ] x half-closing TCP connection
[DEBUG ] [Connection listener exception while reading websocket]
sent 1000 (OK); then received 1000 (OK)
[DEBUG ]
❌ Closed websocket connection to ws://127.0.0.1:9222/devtools/page/8DCDFE778C19896D8F48E78C53187C64
Beta Was this translation helpful? Give feedback.
All reactions