eg: fix missing timeEnd for claim in case of cfg.interactive

This commit is contained in:
Ralf Vogler 2025-07-23 00:37:16 +02:00
parent d36722a455
commit da8e160586

View file

@ -266,7 +266,10 @@ try {
if (cfg.time) console.timeEnd('claim game');
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
await iframe.locator('button:has-text("Place Order"):not(:has(.payment-loading--loading))').click({ delay: 11 });