Skip to content

Commit d99773f

Browse files
committed
Optimize Undetected Mode
1 parent 628d7ec commit d99773f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/undetected/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ def __init__(
225225
"--password-store=basic",
226226
]
227227
)
228+
options.add_argument("--disable-renderer-backgrounding")
229+
options.add_argument("--disable-backgrounding-occluded-windows")
228230
if headless or options.headless:
229231
options.headless = True
230232
options.add_argument("--no-sandbox")

0 commit comments

Comments
 (0)