Skip to content

Disable GPU with context manager #3660

Answered by mdmintz
oooyiyangc asked this question in Q&A
Discussion options

You must be logged in to vote

It's already set by default when not using UC Mode:

chrome_options.add_argument("--disable-gpu")

You can add in custom Chromium args via chromium_arg, eg. SB(chromium_arg="--disable-gpu"), although note that UC Mode might not work properly when the GPU is disabled.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oooyiyangc
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants