Skip to content

Commit 2400757

Browse files
authored
Merge pull request #1765 from seleniumbase/update-uc-mode-options-on-linux
Update default UC Mode options on Linux
2 parents 2dcacc3 + c619838 commit 2400757

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.13.1"
2+
__version__ = "4.13.2"

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)