Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix: explicitly set the default metamask interface language #212 (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Jan 16, 2023
1 parent 9fcb540 commit c148a5c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/setup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ export const bootstrap = async ({
}> => {
const browser = await launch({
headless: true,
playwrightOptions: {
args: ["--accept-lang=en"],
},
puppeteerOptions: {
args: ["--accept-lang=en"],
},
...launchOptions,
});
const metaMask = await setupMetaMask(browser, {
Expand Down Expand Up @@ -47,6 +53,12 @@ export const initSnapEnv = async (
}> => {
const browser = await launch({
headless: true,
playwrightOptions: {
args: ["--accept-lang=en"],
},
puppeteerOptions: {
args: ["--accept-lang=en"],
},
...opts,
metaMaskFlask: true,
});
Expand Down

0 comments on commit c148a5c

Please sign in to comment.