ChainSafe / dappeteer

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

Does not work on ubuntu 22.04 #342

Open Julink-eth opened 1 year ago

Julink-eth commented 1 year ago

Describe the problem I'm trying to run a dappeteer script on ubuntu 22.04, here is the script test.mjs:

import dappeteer from "@chainsafe/dappeteer";
import "dotenv/config";

async function main() {
  const { metaMask, browser } = await dappeteer.bootstrap();
}

main();

I run the command node tests.mjs

And I get the error Failed to launch both playwright and puppeteer

System:

Julink-eth commented 1 year ago

Actually you just need to add puppeteer dependency in the package.json, could you guys add that to the readme ?

anajembaedwin commented 1 year ago

Hi. Is this an issue I can work on or it's just an observation? I can add puppeteer to the package.json if need be.

Julink-eth commented 1 year ago

I think adding puppeteer to the package.json would be helpful indeed!