accidentally removed the headless arg
This commit is contained in:
parent
4588d5b434
commit
7eea06d59b
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user