File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ def driver_init(
6868 options .add_argument ("disable-blink-features=AlertControlled" )
6969 options .add_argument ("--headless" )
7070 options .add_argument ("--disable-dev-shm-usage" )
71+ options .add_argument ("--enable-unsafe-swiftshader" )
7172 options .add_argument ("ignore-certificate-errors" )
7273 options .add_argument ("--hide-scrollbars" )
7374 options .add_argument (f"--force-device-scale-factor={ str (scale_factor )} " )
@@ -108,6 +109,7 @@ def driver_init(
108109 options .add_argument ("--no-sandbox" )
109110 options .add_argument ("disable-blink-features=AlertControlled" )
110111 options .add_argument ("--headless" )
112+ options .add_argument ("--enable-unsafe-swiftshader" )
111113 options .add_argument ("--disable-dev-shm-usage" )
112114 options .add_argument ("ignore-certificate-errors" )
113115 options .add_argument ("--hide-scrollbars" )
You can’t perform that action at this time.
0 commit comments