epic-games: don't pause after claimed successfully

This commit is contained in:
Ralf Vogler 2022-01-20 20:17:17 +01:00
parent 38b074384d
commit 35423d6eef

View file

@ -115,7 +115,7 @@ const TIMEOUT = 20 * 1000; // 20s, default is 30s
// }
await page.waitForSelector('text=Thank you for buying');
console.log('Claimed successfully!');
await page.pause();
// await page.pause();
}
if (i<n) { // no need to go back if it's the last game
await page.goto(URL_CLAIM, {waitUntil: 'domcontentloaded'});