epic-games: don't pause after claimed successfully
This commit is contained in:
parent
38b074384d
commit
35423d6eef
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ const TIMEOUT = 20 * 1000; // 20s, default is 30s
|
||||||
// }
|
// }
|
||||||
await page.waitForSelector('text=Thank you for buying');
|
await page.waitForSelector('text=Thank you for buying');
|
||||||
console.log('Claimed successfully!');
|
console.log('Claimed successfully!');
|
||||||
await page.pause();
|
// await page.pause();
|
||||||
}
|
}
|
||||||
if (i<n) { // no need to go back if it's the last game
|
if (i<n) { // no need to go back if it's the last game
|
||||||
await page.goto(URL_CLAIM, {waitUntil: 'domcontentloaded'});
|
await page.goto(URL_CLAIM, {waitUntil: 'domcontentloaded'});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue