From a8fa80cd0554f80f483a23a2621dd8d509c6ebff Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Mon, 6 Mar 2023 21:08:24 +0100 Subject: [PATCH] eg: fix #84 like #75 with click delay >0ms --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index c25f88a..828d85b 100644 --- a/epic-games.js +++ b/epic-games.js @@ -150,7 +150,7 @@ try { db.data[user][game_id].status = notify_game.status = 'unavailable-in-region'; continue; } - await iframe.locator('button:has-text("Place Order")').click(); + 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 const btnAgree = iframe.locator('button:has-text("I Agree")');