wip
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user