This commit is contained in:
TheNetsky
2023-10-30 20:37:40 +01:00
parent c2b68faa74
commit 40f32af67f
9 changed files with 46 additions and 25 deletions

View File

@@ -108,7 +108,7 @@ export class Workers {
}
// Wait for element to load
await page.waitForSelector(selector, { timeout: 5000 })
await page.waitForSelector(selector, { timeout: 10_000 })
// Click element, it will be opened in a new tab
await page.click(selector)