Skip to content

Commit e533715

Browse files
committed
Update default options for UC Mode on Linux
1 parent 2dcacc3 commit e533715

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,9 @@ def _set_chrome_options(
696696
chrome_options.add_argument("--disable-gpu")
697697
if IS_LINUX:
698698
chrome_options.add_argument("--disable-dev-shm-usage")
699+
if is_using_uc(undetectable, browser_name):
700+
chrome_options.add_argument("--disable-application-cache")
701+
chrome_options.add_argument("--disable-setuid-sandbox")
699702
if chromium_arg:
700703
# Can be a comma-separated list of Chromium args
701704
chromium_arg_list = chromium_arg.split(",")

0 commit comments

Comments
 (0)