Commit f3d516a4 authored by Travis Fischer's avatar Travis Fischer

fix: prettier; re-add delay

parent dc12e2e9
...@@ -57,7 +57,7 @@ export class ChatGPTAPIBrowser extends AChatGPTAPI { ...@@ -57,7 +57,7 @@ export class ChatGPTAPIBrowser extends AChatGPTAPI {
/** @defaultValue `undefined` **/ /** @defaultValue `undefined` **/
captchaToken?: string captchaToken?: string
/** @defaultValue `undefined` **/ /** @defaultValue `undefined` **/
nopechaKey?: string nopechaKey?: string
......
...@@ -167,6 +167,7 @@ export async function getOpenAIAuth({ ...@@ -167,6 +167,7 @@ export async function getOpenAIAuth({
} else { } else {
await page.waitForSelector('#username') await page.waitForSelector('#username')
await page.type('#username', email) await page.type('#username', email)
await delay(100)
// NOTE: this is where you may encounter a CAPTCHA // NOTE: this is where you may encounter a CAPTCHA
if (hasNopechaExtension) { if (hasNopechaExtension) {
......
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