Commit c9363910 authored by Travis Fischer's avatar Travis Fischer

fix: minor fix for puppeteer automation

parent ec546a5c
...@@ -76,6 +76,7 @@ export async function getOpenAIAuth({ ...@@ -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')
......
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