const waitForWindow = new Promise<Page>((resolve) => page.on("popup", resolve))
const accountSelectPopup = await waitForWindow
const waitForWindow = new Promise<Page>((resolve) => page.on("popup", resolve))
const accountSelectPopup = await waitForWindow