Skip to content

Commit

Permalink
Launch browser with language set to English by default (mattsse#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
escritorio-gustavo authored Jul 8, 2023
1 parent 1eb7732 commit 6264e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ pub fn default_executable() -> Result<std::path::PathBuf, String> {

/// These are passed to the Chrome binary by default.
/// Via https://github.com/puppeteer/puppeteer/blob/4846b8723cf20d3551c0d755df394cc5e0c82a94/src/node/Launcher.ts#L157
static DEFAULT_ARGS: [&str; 24] = [
static DEFAULT_ARGS: [&str; 25] = [
"--disable-background-networking",
"--enable-features=NetworkService,NetworkServiceInProcess",
"--disable-background-timer-throttling",
Expand All @@ -837,4 +837,5 @@ static DEFAULT_ARGS: [&str; 24] = [
"--password-store=basic",
"--use-mock-keychain",
"--enable-blink-features=IdleDetection",
"--lang=en_US",
];

0 comments on commit 6264e0a

Please sign in to comment.