ChainSafe / dappeteer

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

About the problem that setupmetamask getmetamask and other methods cannot be used #275

Closed Lzggno1 closed 1 year ago

Lzggno1 commented 1 year ago

image All the methods about enabling metamask will make the program congested. This problem bothers me. Can someone help me? I tried to print metamsak, but he didn't have anything. The program was blocked。 image

buley commented 1 year ago

This is how headless browsers works. Try passing a {headless: false} argument to bootstrap() if you want to see the browser instance.

BeroBurny commented 1 year ago

Internals of dappeteer's bootstrap runs setupMetaMask so there is no need to do it again. Probably the issue is sending empty seed and password to a method


cc @irubido @Lykhoyda seems we need put guards for empty values.

Lzggno1 commented 1 year ago

i

dappeteerbootstrap运行的内部结构,setupMetaMask因此无需再次运行。 可能问题是发送空的seedpassword一个方法

抄送@irubido @Lykhoyda似乎我们需要为空值设置警卫。

I have input seed and password, but the three objects returned by bootstrap are undefined

BeroBurny commented 1 year ago

Unfortunalty, by provided data im not able to pinpoint a problem. Try to do follow example from a readme. If that dose not solve it open new issue with fulfilled form.