This commit is contained in:
Ken Yasue
2025-03-25 11:24:17 +01:00
parent 3d566a408e
commit af7e55882d
5 changed files with 959 additions and 29 deletions

View File

@ -15,7 +15,7 @@ export class WebDriverUtils {
* @returns Promise that resolves after the specified time
*/
static async wait(driver?: WebDriver): Promise<void> {
const seconds = Math.floor(Math.random() * 1000) % 3 + 3;
const seconds = Math.floor(Math.random() * 1000) % 3 + 2;
console.log(`Scrolling to bottom for ${seconds} seconds...`);
const endTime = Date.now() + seconds * 1000;