From 9df80fa6d8ef49aa84aac2f900d5d8c115d1abcf Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Fri, 10 Mar 2023 09:16:54 +0100 Subject: [PATCH] eg: wait 2s before 'Place Order', fix #84 for everyone? --- epic-games.js | 1 + 1 file changed, 1 insertion(+) diff --git a/epic-games.js b/epic-games.js index f6b9d45..05cae05 100644 --- a/epic-games.js +++ b/epic-games.js @@ -159,6 +159,7 @@ try { if (cfg.dryrun) continue; if (cfg.debug) await page.pause(); + await page.waitForTimeout(2000); await iframe.locator('button:has-text("Place Order")').click({ delay: 11 }); // I Agree button is only shown for EU accounts! https://github.com/vogler/free-games-claimer/pull/7#issuecomment-1038964872