diff --git a/cookie/src/lib.rs b/cookie/src/lib.rs index 3b2ec27..c7054c6 100644 --- a/cookie/src/lib.rs +++ b/cookie/src/lib.rs @@ -22,7 +22,7 @@ pub async fn run(args: Config, pw: &str) -> Result<()> { let (stop_tx, stop_rx) = oneshot::channel(); let driver_handle = geckodriver::run(stop_rx).await?; - let driver_args = json!({ "moz:firefoxOptions": {"args": []} }); + let driver_args = json!({ "moz:firefoxOptions": {"args": ["-headless"]} }); let client = ClientBuilder::native() .capabilities(driver_args.as_object().unwrap().clone())