Commit a4f9407a authored by Travis Fischer's avatar Travis Fischer Committed by GitHub

Merge pull request #205 from suhaotian/hotfix/fix-no-element-found

parents 63e7c47a 345b5be4
......@@ -138,6 +138,9 @@ export async function getOpenAIAuth({
let submitP: () => Promise<void>
if (isGoogleLogin) {
await page.waitForSelector('button[data-provider="google"]', {
timeout: timeoutMs
})
await page.click('button[data-provider="google"]')
await page.waitForSelector('input[type="email"]')
await page.type('input[type="email"]', email, { delay: 10 })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment