#[cfg(all(feature = "chrome_cpu", feature = "real_browser"))]
pub(crate) static CHROME_ARGS: [&str; 27] = [
if cfg!(feature = "chrome_headless_new") {
"--headless=new"
} else {
"--headless"
},
"--disable-extensions",
"--disable-component-extensions-with-background-pages",
"--disable-background-networking",
"--disable-component-update",
"--disable-client-side-phishing-detection",
"--disable-sync",
"--metrics-recording-only",
"--disable-default-apps",
"--mute-audio",
"--no-default-browser-check",
"--no-first-run",
"--disable-gpu",
"--disable-gpu-sandbox",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage",
"--disable-backgrounding-occluded-windows",
"--disable-renderer-backgrounding",
"--disable-background-timer-throttling",
"--disable-ipc-flooding-protection",
"--password-store=basic",
"--use-mock-keychain",
"--force-fieldtrials=*BackgroundTracing/default/",
"--disable-hang-monitor",
"--disable-prompt-on-repost",
"--disable-domain-reliability",
"--disable-features=InterestFeedContentSuggestions,PrivacySandboxSettings4,AutofillServerCommunication,CalculateNativeWinOcclusion,OptimizationHints,AudioServiceOutOfProcess,IsolateOrigins,site-per-process,ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate"
];
#[cfg(all(
not(feature = "chrome_cpu"),
feature = "chrome",
feature = "real_browser"
))]
pub(crate) static CHROME_ARGS: [&str; 24] = [
if cfg!(feature = "chrome_headless_new") {
"--headless=new"
} else {
"--headless"
},
"--disable-extensions",
"--disable-component-extensions-with-background-pages",
"--disable-background-networking",
"--disable-component-update",
"--disable-client-side-phishing-detection",
"--disable-sync",
"--disable-dev-shm-usage",
"--metrics-recording-only",
"--disable-default-apps",
"--mute-audio",
"--no-default-browser-check",
"--no-first-run",
"--disable-backgrounding-occluded-windows",
"--disable-renderer-backgrounding",
"--disable-background-timer-throttling",
"--disable-ipc-flooding-protection",
"--password-store=basic",
"--use-mock-keychain",
"--force-fieldtrials=*BackgroundTracing/default/",
"--disable-hang-monitor",
"--disable-prompt-on-repost",
"--disable-domain-reliability",
"--disable-features=InterestFeedContentSuggestions,PrivacySandboxSettings4,AutofillServerCommunication,CalculateNativeWinOcclusion,OptimizationHints,AudioServiceOutOfProcess,IsolateOrigins,site-per-process,ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate"
];
#[cfg(all(not(feature = "chrome_cpu"), not(feature = "real_browser")))]
pub(crate) static CHROME_ARGS: [&'static str; 60] = [
if cfg!(feature = "chrome_headless_new") { "--headless=new" } else { "--headless" },
"--no-sandbox",
"--no-first-run",
"--hide-scrollbars",
"--allow-running-insecure-content",
"--autoplay-policy=user-gesture-required",
"--ignore-certificate-errors",
"--no-default-browser-check",
"--no-zygote",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage", "--disable-threaded-scrolling",
"--disable-demo-mode",
"--disable-dinosaur-easter-egg",
"--disable-fetching-hints-at-navigation-start",
"--disable-site-isolation-trials",
"--disable-web-security",
"--disable-threaded-animation",
"--disable-sync",
"--disable-print-preview",
"--disable-partial-raster",
"--disable-in-process-stack-traces",
"--disable-v8-idle-tasks",
"--disable-low-res-tiling",
"--disable-speech-api",
"--disable-smooth-scrolling",
"--disable-default-apps",
"--disable-prompt-on-repost",
"--disable-domain-reliability",
"--disable-component-update",
"--disable-background-timer-throttling",
"--disable-breakpad",
"--disable-software-rasterizer",
"--disable-extensions",
"--disable-popup-blocking",
"--disable-hang-monitor",
"--disable-image-animation-resync",
"--disable-client-side-phishing-detection",
"--disable-component-extensions-with-background-pages",
"--disable-ipc-flooding-protection",
"--disable-background-networking",
"--disable-renderer-backgrounding",
"--disable-field-trial-config",
"--disable-back-forward-cache",
"--disable-backgrounding-occluded-windows",
"--force-fieldtrials=*BackgroundTracing/default/",
"--log-level=3",
"--enable-logging=stderr",
"--enable-features=SharedArrayBuffer,NetworkService,NetworkServiceInProcess",
"--metrics-recording-only",
"--use-mock-keychain",
"--force-color-profile=srgb",
"--mute-audio",
"--no-service-autorun",
"--password-store=basic",
"--export-tagged-pdf",
"--no-pings",
"--use-gl=swiftshader",
"--window-size=1920,1080",
"--disable-features=InterestFeedContentSuggestions,PrivacySandboxSettings4,AutofillServerCommunication,CalculateNativeWinOcclusion,OptimizationHints,AudioServiceOutOfProcess,IsolateOrigins,site-per-process,ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate"
];
#[cfg(all(feature = "chrome_cpu", not(feature = "real_browser")))]
pub(crate) static CHROME_ARGS: [&'static str; 62] = [
if cfg!(feature = "chrome_headless_new") { "--headless=new" } else { "--headless" },
"--no-sandbox",
"--no-first-run",
"--hide-scrollbars",
"--allow-running-insecure-content",
"--autoplay-policy=user-gesture-required",
"--ignore-certificate-errors",
"--no-default-browser-check",
"--no-zygote",
"--in-process-gpu",
"--disable-gpu",
"--disable-gpu-sandbox",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage", "--disable-threaded-scrolling",
"--disable-demo-mode",
"--disable-dinosaur-easter-egg",
"--disable-fetching-hints-at-navigation-start",
"--disable-site-isolation-trials",
"--disable-web-security",
"--disable-threaded-animation",
"--disable-sync",
"--disable-print-preview",
"--disable-in-process-stack-traces",
"--disable-v8-idle-tasks",
"--disable-low-res-tiling",
"--disable-speech-api",
"--disable-smooth-scrolling",
"--disable-default-apps",
"--disable-prompt-on-repost",
"--disable-domain-reliability",
"--disable-component-update",
"--disable-background-timer-throttling",
"--disable-breakpad",
"--disable-software-rasterizer",
"--disable-extensions",
"--disable-popup-blocking",
"--disable-hang-monitor",
"--disable-image-animation-resync",
"--disable-client-side-phishing-detection",
"--disable-component-extensions-with-background-pages",
"--disable-ipc-flooding-protection",
"--disable-background-networking",
"--disable-renderer-backgrounding",
"--disable-field-trial-config",
"--disable-back-forward-cache",
"--disable-backgrounding-occluded-windows",
"--force-fieldtrials=*BackgroundTracing/default/",
"--log-level=3",
"--enable-logging=stderr",
"--enable-features=SharedArrayBuffer,NetworkService,NetworkServiceInProcess",
"--metrics-recording-only",
"--use-mock-keychain",
"--force-color-profile=srgb",
"--mute-audio",
"--no-service-autorun",
"--password-store=basic",
"--export-tagged-pdf",
"--no-pings",
"--use-gl=swiftshader",
"--window-size=1920,1080",
"--disable-features=InterestFeedContentSuggestions,PrivacySandboxSettings4,AutofillServerCommunication,CalculateNativeWinOcclusion,OptimizationHints,AudioServiceOutOfProcess,IsolateOrigins,site-per-process,ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate"
];