Commit 4118bfa0 authored by nanahira's avatar nanahira

increase delay again

parent 4d5eec59
......@@ -943,8 +943,10 @@ async function getOpenAIAuth({
await submit.click();
await page.waitForSelector("#password", { timeout: timeoutMs });
await page.type("#password", password);
await delay(200);
submitP = () => page.click('button[type="submit"][data-action-button-primary="true"]');
await delay(1e3);
submitP = async () => {
await page.click('button[type="submit"][data-action-button-primary="true"]');
};
}
await Promise.all([
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({
await submit.click()
await page.waitForSelector('#password', { timeout: timeoutMs })
await page.type('#password', password)
await delay(200)
submitP = () =>
page.click('button[type="submit"][data-action-button-primary="true"]')
await delay(1000)
submitP = async () => {
//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([
......
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