diff --git a/epic-games.js b/epic-games.js index 67eba3c..2c98a31 100644 --- a/epic-games.js +++ b/epic-games.js @@ -117,7 +117,8 @@ 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")', { delay: 11 }); + await page.click('button:has-text("Continue")', { delay: 111 }); + await page.waitForTimeout(2000); } const title = await page.locator('h1').first().innerText();