Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

unable to switch to popup window, when trying to select account #341

Open
vivek-consensys opened this issue Aug 24, 2023 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@vivek-consensys
Copy link

Describe the problem
When connecting to MetaMask, there is a popup requesting which account you would like to connect with? How can we switch to the popup window to be able to select which account we would like to connect with? I have attached an image below:-

Screenshot 2023-08-24 at 14 01 39

System:

  • OS: iOS
  • OS version: 13.4.1
  • NodeJs version: v16.20.1
  • dappeteer version : "^5.0.0"
  • testing framework: jest
  • testing framework version "^29.5.0",
  • puppeteer version "19.6.3"

Code until the popup:-

connectMetamaskButton = await page.waitForXPath("//button[contains(text(),'Connect')]"); await connectMetamaskButton.click();Ï metaMaskButton = await page.waitForXPath("//img[@alt='MetaMask']//.."); await metaMaskButton.click();

@vivek-consensys vivek-consensys added the help wanted Extra attention is needed label Aug 24, 2023
@Ayoseun
Copy link

Ayoseun commented Mar 4, 2024

can you assign this to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants