pg: fix for #41
This commit is contained in:
parent
446c1c9346
commit
a4d39b6a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ try {
|
||||||
if (process.env.DRYRUN) continue;
|
if (process.env.DRYRUN) continue;
|
||||||
await (await card.$('text=Claim')).click();
|
await (await card.$('text=Claim')).click();
|
||||||
// await page.waitForNavigation();
|
// await page.waitForNavigation();
|
||||||
await Promise.any([page.click('button:has-text("Claim now")'), page.click('button:has-text("Complete Claim")')]); // waits for navigation
|
await Promise.any([page.click('button:has-text("Claim now")'), page.click('button:has-text("Complete Claim")'), page.waitForSelector('div:has-text("Link game account")')]); // waits for navigation
|
||||||
const store_text = await (await page.$('[data-a-target="hero-header-subtitle"]')).innerText();
|
const store_text = await (await page.$('[data-a-target="hero-header-subtitle"]')).innerText();
|
||||||
// Full game for PC [and MAC] on: gog.com, Origin, Legacy Games, EPIC GAMES, Battle.net
|
// Full game for PC [and MAC] on: gog.com, Origin, Legacy Games, EPIC GAMES, Battle.net
|
||||||
// 3 Full PC Games on Legacy Games
|
// 3 Full PC Games on Legacy Games
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue