Commit 4118bfa0 authored by nanahira's avatar nanahira

increase delay again

parent 4d5eec59
...@@ -943,8 +943,10 @@ async function getOpenAIAuth({ ...@@ -943,8 +943,10 @@ 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(200); await delay(1e3);
submitP = () => page.click('button[type="submit"][data-action-button-primary="true"]'); submitP = async () => {
await page.click('button[type="submit"][data-action-button-primary="true"]');
};
} }
await Promise.all([ await Promise.all([
waitForConditionOrAtCapacity( waitForConditionOrAtCapacity(
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -219,9 +219,16 @@ export async function getOpenAIAuth({ ...@@ -219,9 +219,16 @@ 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(200) await delay(1000)
submitP = () => submitP = async () => {
page.click('button[type="submit"][data-action-button-primary="true"]') //console.log('1st click')
await page.click(
'button[type="submit"][data-action-button-primary="true"]'
)
//await delay(3000);
//console.log('2nd click')
//await page.click('button[type="submit"][data-action-button-primary="true"]');
}
} }
await Promise.all([ await Promise.all([
......
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