From 83c1ce1ca573dc7073284ab03584bc8e05395f5b Mon Sep 17 00:00:00 2001 From: nobug Date: Sun, 10 Dec 2023 23:50:26 +0800 Subject: [PATCH] 2350 --- gpt.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt.ts b/gpt.ts index 5368ac1..3ca1fee 100644 --- a/gpt.ts +++ b/gpt.ts @@ -36,6 +36,7 @@ import { faker } from '@faker-js/faker'; // 等待 submit-token 按钮 await driver.wait(until.elementLocated(By.id('submit-token')), 60 * 1000); + await new Promise(resolve => setTimeout(resolve, 1 * 1000)); await driver.findElement(By.id("submit-token")).click()