kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: minor fix for puppeteer automation
rodzic
ec546a5cd6
commit
c936391041
|
@ -76,6 +76,7 @@ export async function getOpenAIAuth({
|
||||||
waitUntil: 'networkidle0'
|
waitUntil: 'networkidle0'
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
|
await page.waitForSelector('#username')
|
||||||
await page.type('#username', email, { delay: 10 })
|
await page.type('#username', email, { delay: 10 })
|
||||||
await page.click('button[type="submit"]')
|
await page.click('button[type="submit"]')
|
||||||
await page.waitForSelector('#password')
|
await page.waitForSelector('#password')
|
||||||
|
|
Ładowanie…
Reference in New Issue