Final polish: Kiosk mode and anti-detection for noVNC
This commit is contained in:
parent
672e467d40
commit
0e240218b4
1 changed files with 7 additions and 1 deletions
|
|
@ -25,8 +25,14 @@ class PlaywrightManager:
|
|||
BROWSER_ARGS = [
|
||||
"--disable-blink-features=AutomationControlled",
|
||||
"--no-sandbox",
|
||||
"--disable-setuid-sandbox",
|
||||
"--disable-dev-shm-usage",
|
||||
"--start-maximized",
|
||||
"--disable-accelerated-2d-canvas",
|
||||
"--no-first-run",
|
||||
"--no-zygote",
|
||||
"--disable-gpu",
|
||||
"--kiosk", # Force full screen mode
|
||||
"--start-maximized"
|
||||
]
|
||||
|
||||
DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
||||
|
|
|
|||
Loading…
Reference in a new issue