args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--window-size=1920,1080', // Set viewport resolution
'--disable-notifications', // Mimic real user behavior
'--disable-extensions', // Avoid using extensions that might be detected
'--disable-dev-shm-usage',
'--disable-background-timer-throttling',
'--disable-client-side-phishing-detection',
'--disable-default-apps',
'--disable-hang-monitor',
'--disable-popup-blocking',
'--disable-session-crashed-bubble',
'--disable-sync',
'--hide-scrollbars',
'--disable-notifications',
'--no-first-run',
'--disable-infobars',
'--hide-crash-restore-bubble',
'--disable-blink-features=AutomationControlled',
'--enable-accelerated-video-decode',
'--enable-accelerated-video-encode',
'--enable-features=UseSurfaceLayerForVideoCapture',
'--enable-gpu-rasterization',
'--enable-oop-rasterization',
'--disable-software-rasterizer',
'--disable-gpu-vsync',
'--enable-audio-output', // Ensure audio output is enabled
'--disable-web-security',
],
ignoreDefaultArgs: [
'--enable-automation',
'--disable-extensions',
'--disable-default-apps',
'--disable-component-update',
'--disable-component-extensions-with-background-pages',
'--enable-blink-features=IdleDetection',
These are my args.
There are still mods I need to make to get more stuff working like Peacock/Netflix/Prime and a few others I want to ad, but perhaps a docker would work better, not sure.