fix: allow run chrome as root user
This commit is contained in:
		
							parent
							
								
									54e9e50d35
								
							
						
					
					
						commit
						da102ff4dc
					
				@ -57,6 +57,7 @@ impl ChromiumCoordinator {
 | 
				
			|||||||
    trace_span!("Creating Chromium instance").in_scope(|| {
 | 
					    trace_span!("Creating Chromium instance").in_scope(|| {
 | 
				
			||||||
        BrowserHolder { browser: Browser::new(LaunchOptions {
 | 
					        BrowserHolder { browser: Browser::new(LaunchOptions {
 | 
				
			||||||
            idle_browser_timeout: Duration::MAX, // Wait inifinity for commands
 | 
					            idle_browser_timeout: Duration::MAX, // Wait inifinity for commands
 | 
				
			||||||
 | 
					            sandbox: false,
 | 
				
			||||||
            ..LaunchOptions::default()
 | 
					            ..LaunchOptions::default()
 | 
				
			||||||
        }).unwrap() }
 | 
					        }).unwrap() }
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user