Skip to content

Commit 5456ba2

Browse files
committed
Add default Chrome option: "--use-gl=swiftshader"
1 parent 2c9af06 commit 5456ba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def _set_chrome_options(
236236
chrome_options.add_argument("--headless")
237237
# if headless or disable_gpu:
238238
chrome_options.add_argument("--disable-gpu") # (Now always on)
239+
chrome_options.add_argument("--use-gl=swiftshader")
239240
# if (headless and "linux" in PLATFORM) or no_sandbox:
240241
chrome_options.add_argument("--no-sandbox") # (Now always on)
241242
if "linux" in PLATFORM:

0 commit comments

Comments
 (0)