kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Last One :)
rodzic
ca7dbddca1
commit
73d60c6b28
|
@ -146,10 +146,10 @@ export async function getOpenAIAuth({
|
|||
await page.waitForSelector('input[type="password"]', { visible: true })
|
||||
await page.type('input[type="password"]', password, { delay: 10 })
|
||||
submitP = () => page.keyboard.press('Enter')
|
||||
// await Promise.all([
|
||||
// page.waitForNavigation(),
|
||||
// await page.keyboard.press('Enter')
|
||||
// ])
|
||||
await Promise.all([
|
||||
page.waitForNavigation(),
|
||||
await page.keyboard.press('Enter')
|
||||
])
|
||||
await delay(1000)
|
||||
} else {
|
||||
await page.waitForSelector('#username')
|
||||
|
|
Ładowanie…
Reference in New Issue