pg: legacygames: don't wait for response, just text
This commit is contained in:
parent
d318a57be1
commit
9fc68b881f
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ try {
|
|||
await page2.uncheck('[name=newsletter_sub]');
|
||||
await page2.click('[type="submit"]');
|
||||
try {
|
||||
await page2.waitForResponse(r => r.url().startsWith('https://promo.legacygames.com/promotion-processing/order-management.php'));
|
||||
// await page2.waitForResponse(r => r.url().startsWith('https://promo.legacygames.com/promotion-processing/order-management.php')); // status code 302
|
||||
await page2.waitForSelector('h2:has-text("Thanks for redeeming")');
|
||||
redeem_action = 'redeemed';
|
||||
db.data[user][title].status = 'claimed and redeemed';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue