eg: fix #84 like #75 with click delay >0ms

This commit is contained in:
Ralf Vogler 2023-03-06 21:08:24 +01:00
parent 944cca6715
commit a8fa80cd05

View file

@ -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")');