File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ def _set_chrome_options(
646
646
chrome_options .add_argument ("--remote-debugging-port=9222" )
647
647
if swiftshader :
648
648
chrome_options .add_argument ("--use-gl=swiftshader" )
649
- else :
649
+ elif not is_using_uc ( undetectable , browser_name ) :
650
650
chrome_options .add_argument ("--disable-gpu" )
651
651
if "linux" in PLATFORM :
652
652
chrome_options .add_argument ("--disable-dev-shm-usage" )
@@ -673,7 +673,7 @@ def _set_chrome_options(
673
673
chrome_options .add_argument ("--disable-prompt-on-repost" )
674
674
chrome_options .add_argument ("--dns-prefetch-disable" )
675
675
chrome_options .add_argument ("--disable-translate" )
676
- if not enable_3d_apis :
676
+ if not enable_3d_apis and not is_using_uc ( undetectable , browser_name ) :
677
677
chrome_options .add_argument ("--disable-3d-apis" )
678
678
if headless or headless2 or is_using_uc (undetectable , browser_name ):
679
679
chrome_options .add_argument ("--disable-renderer-backgrounding" )
You can’t perform that action at this time.
0 commit comments