diff options
-rw-r--r-- | src/browser/web_browser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browser/web_browser.rs b/src/browser/web_browser.rs index daeab5f..8ba21d6 100644 --- a/src/browser/web_browser.rs +++ b/src/browser/web_browser.rs @@ -28,6 +28,7 @@ impl Browser { let mut caps = FirefoxCapabilities::new(); let _ = caps.set_preferences(prefs); + let _ = caps.set_headless(); Self { driver: Some(WebDriver::new(driver_url, caps).await.unwrap()), |