Skip to content

Commit

Permalink
eg: forgot to catch timeout for captcha detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Jun 27, 2024
1 parent e154b74 commit 00275d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epic-games.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ try {
iframe.locator('.payment__errors:has-text("Failed to challenge captcha, please try again later.")').waitFor().then(async () => {
console.error(' Failed to challenge captcha, please try again later.');
await notify('epic-games: failed to challenge captcha. Please check.');
});
}).catch(_ => { });
await page.locator('text=Thanks for your order!').waitFor({ state: 'attached' }); // TODO Bundle: got stuck here
db.data[user][game_id].status = 'claimed';
db.data[user][game_id].time = datetime(); // claimed time overwrites failed/dryrun time
Expand Down

0 comments on commit 00275d8

Please sign in to comment.