fix: allow run chrome as root user

This commit is contained in:
Ondrej Vlach 2023-12-09 16:16:18 +01:00
parent 54e9e50d35
commit da102ff4dc
Signed by: ovlach
GPG Key ID: 4FF1A23B4914DE70

View File

@ -57,6 +57,7 @@ impl ChromiumCoordinator {
trace_span!("Creating Chromium instance").in_scope(|| {
BrowserHolder { browser: Browser::new(LaunchOptions {
idle_browser_timeout: Duration::MAX, // Wait inifinity for commands
sandbox: false,
..LaunchOptions::default()
}).unwrap() }
})