ChainSafe / dappeteer

[DEPRECATED]🏌🏼‍E2E testing for dApps using Puppeteer + MetaMask
Other
492 stars 154 forks source link

Version v11.0.0 (flask: false) not found! #357

Open slavamirniy opened 8 months ago

slavamirniy commented 8 months ago

Describe the bug Version v11.0.0 (flask: false) not found!

const {metaMask, browser} = await dappeteer.bootstrap({
        headless: false,
        metaMaskFlask: false,
        puppeteerOptions: {
            headless: false
        },
    });
slavamirniy commented 8 months ago

https://api.github.com/repos/metamask/metamask-extension/releases On this page there is no metamask v11.0.0 You need update link with pagination, like https://api.github.com/repos/metamask/metamask-extension/releases?page=2

ernanirst commented 8 months ago

Got this error simply by adding the jest preset. Does downgrading version helps?

ernanirst commented 8 months ago

@slavamirniy I manage to work around the issue by creating a dappeteer.config.js, and specifying the metamask version:

/** @type {import('@chainsafe/dappeteer').DappeteerJestConfig} */
const config = {
  dappeteer: {
    metaMaskVersion: '11.11.4',
  },
  metamask: {
    seed: 'already turtle birth enroll since owner keep patch skirt drift any dinner',
    password: 'password1234',
  },
}

module.exports = config