kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: No element found for selector: button[data-provider="google"]
rodzic
63e7c47ab0
commit
345b5be4ec
|
@ -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 })
|
||||
|
|
Ładowanie…
Reference in New Issue