getMetamask get stuck when using userDataDir
Bane1212 opened this issue · 0 comments
Bane1212 commented
If we use...
const browser = await dappeteer.launch(puppeteer, {
userDataDir: './myData'
});
...in other words, preserve Chrome Profile with previous Metamask usage, then...
const metamask = await dappeteer.getMetamask(browser);
...gets stuck, because Metamask opens on "login" page.
It would be nice if getMetamask doesn't always go thru "create account" routine, but just to return Metamask handle if it detects that we are on the "login" page.