Commit 73d60c6b authored by optionsx's avatar optionsx Committed by GitHub

Last One :)

parent ca7dbddc
...@@ -146,10 +146,10 @@ export async function getOpenAIAuth({ ...@@ -146,10 +146,10 @@ export async function getOpenAIAuth({
await page.waitForSelector('input[type="password"]', { visible: true }) await page.waitForSelector('input[type="password"]', { visible: true })
await page.type('input[type="password"]', password, { delay: 10 }) await page.type('input[type="password"]', password, { delay: 10 })
submitP = () => page.keyboard.press('Enter') submitP = () => page.keyboard.press('Enter')
// await Promise.all([ await Promise.all([
// page.waitForNavigation(), page.waitForNavigation(),
// await page.keyboard.press('Enter') await page.keyboard.press('Enter')
// ]) ])
await delay(1000) await delay(1000)
} else { } else {
await page.waitForSelector('#username') await page.waitForSelector('#username')
......
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