Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
zixiang2018 committed Oct 2, 2023
1 parent efbe326 commit 879ba54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion integration/metamask-init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ export const metamaskInit = async () => {
const browser = await dappeteer.launch({
metaMaskVersion: "v10.31.0",
automation: "puppeteer",
headless: true,
headless: false,
puppeteerOptions: {
args: ["--no-sandbox"],
executablePath: process.env.PUPPETEER_EXEC_PATH,
defaultViewport: null,
slowMo: process.argv[2] || 0,
},
});

await sleep(2000);
Expand Down

0 comments on commit 879ba54

Please sign in to comment.