Skip to content

Commit

Permalink
add more args
Browse files Browse the repository at this point in the history
  • Loading branch information
cbackas committed Oct 31, 2024
1 parent 7034edf commit 09fcdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map_service/src/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub async fn get_screenshot(url: &str) -> anyhow::Result<Vec<u8>> {
caps.insert(
"moz:firefoxOptions".to_string(),
serde_json::json!({
"args": ["--headless"]
"args": ["--headless", "--disable-extensions", "--no-sandbox", "--disable-gpu", "--disable-application-cache", "--disable-dev-shm-usage"],
}),
);
caps
Expand Down

0 comments on commit 09fcdcb

Please sign in to comment.