2350
This commit is contained in:
1
gpt.ts
1
gpt.ts
@ -36,6 +36,7 @@ import { faker } from '@faker-js/faker';
|
|||||||
|
|
||||||
// 等待 submit-token 按钮
|
// 等待 submit-token 按钮
|
||||||
await driver.wait(until.elementLocated(By.id('submit-token')), 60 * 1000);
|
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()
|
await driver.findElement(By.id("submit-token")).click()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user