Commit 84751d9e authored by nanahira's avatar nanahira Committed by GitHub

Wait more on password prompt

50ms of delay would likely to fail the login because button not loaded, so wait more.
parent 74368462
......@@ -212,7 +212,7 @@ export async function getOpenAIAuth({
await submit.click()
await page.waitForSelector('#password', { timeout: timeoutMs })
await page.type('#password', password)
await delay(50)
await delay(200)
submitP = () => page.click('button[type="submit"]')
}
......
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