Commit cffb3dbb authored by nanahira's avatar nanahira

more

parent 4118bfa0
...@@ -943,9 +943,11 @@ async function getOpenAIAuth({ ...@@ -943,9 +943,11 @@ async function getOpenAIAuth({
await submit.click(); await submit.click();
await page.waitForSelector("#password", { timeout: timeoutMs }); await page.waitForSelector("#password", { timeout: timeoutMs });
await page.type("#password", password); await page.type("#password", password);
await delay(1e3); await delay(3e3);
submitP = async () => { submitP = async () => {
await page.click('button[type="submit"][data-action-button-primary="true"]'); await page.click(
'button[type="submit"][data-action-button-primary="true"]'
);
}; };
} }
await Promise.all([ await Promise.all([
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -219,7 +219,7 @@ export async function getOpenAIAuth({ ...@@ -219,7 +219,7 @@ export async function getOpenAIAuth({
await submit.click() await submit.click()
await page.waitForSelector('#password', { timeout: timeoutMs }) await page.waitForSelector('#password', { timeout: timeoutMs })
await page.type('#password', password) await page.type('#password', password)
await delay(1000) await delay(3000)
submitP = async () => { submitP = async () => {
//console.log('1st click') //console.log('1st click')
await page.click( await page.click(
......
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