From e22bb22a535f31fda3d10170a0570c4921492465 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Fri, 7 Apr 2023 09:50:40 +0200 Subject: [PATCH] eg: try click delay for #120 --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index 668f117..67eba3c 100644 --- a/epic-games.js +++ b/epic-games.js @@ -117,7 +117,7 @@ try { // click Continue if 'This game contains mature content recommended only for ages 18+' if (await page.locator('button:has-text("Continue")').count() > 0) { console.log(' This game contains mature content recommended only for ages 18+'); - await page.click('button:has-text("Continue")'); + await page.click('button:has-text("Continue")', { delay: 11 }); } const title = await page.locator('h1').first().innerText();