eg: fix missing timeEnd for claim in case of cfg.interactive
This commit is contained in:
parent
d36722a455
commit
da8e160586
1 changed files with 4 additions and 1 deletions
|
|
@ -266,7 +266,10 @@ try {
|
||||||
if (cfg.time) console.timeEnd('claim game');
|
if (cfg.time) console.timeEnd('claim game');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (cfg.interactive && !await confirm()) continue;
|
if (cfg.interactive && !await confirm()) {
|
||||||
|
if (cfg.time) console.timeEnd('claim game');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Playwright clicked before button was ready to handle event, https://github.com/vogler/free-games-claimer/issues/84#issuecomment-1474346591
|
// Playwright clicked before button was ready to handle event, https://github.com/vogler/free-games-claimer/issues/84#issuecomment-1474346591
|
||||||
await iframe.locator('button:has-text("Place Order"):not(:has(.payment-loading--loading))').click({ delay: 11 });
|
await iframe.locator('button:has-text("Place Order"):not(:has(.payment-loading--loading))').click({ delay: 11 });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue