eg: wait 2s before 'Place Order', fix #84 for everyone?

This commit is contained in:
Ralf Vogler 2023-03-10 09:16:54 +01:00
parent 0cfb9d29aa
commit 9df80fa6d8

View file

@ -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