eg: wait 2s before 'Place Order', fix #84 for everyone?
This commit is contained in:
parent
0cfb9d29aa
commit
9df80fa6d8
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ try {
|
||||||
if (cfg.dryrun) continue;
|
if (cfg.dryrun) continue;
|
||||||
if (cfg.debug) await page.pause();
|
if (cfg.debug) await page.pause();
|
||||||
|
|
||||||
|
await page.waitForTimeout(2000);
|
||||||
await iframe.locator('button:has-text("Place Order")').click({ delay: 11 });
|
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
|
// I Agree button is only shown for EU accounts! https://github.com/vogler/free-games-claimer/pull/7#issuecomment-1038964872
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue