pg: dlc: log url of dlc if account not linked, #180
This commit is contained in:
parent
86832e7fe9
commit
5c8f8fc3fd
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ try {
|
||||||
if (await linkAccountButton.count()) {
|
if (await linkAccountButton.count()) {
|
||||||
console.error(' Missing account linking:', await linkAccountButton.getAttribute('aria-label'), url);
|
console.error(' Missing account linking:', await linkAccountButton.getAttribute('aria-label'), url);
|
||||||
} else if(await page.locator('text=Link game account').count()) { // epic-games only?
|
} else if(await page.locator('text=Link game account').count()) { // epic-games only?
|
||||||
console.error(' Missing account linking:', await page.locator('button[data-a-target="gms-cta"]').innerText());
|
console.error(' Missing account linking:', await page.locator('button[data-a-target="gms-cta"]').innerText(), url);
|
||||||
} else {
|
} else {
|
||||||
const code = await page.inputValue('input[type="text"]');
|
const code = await page.inputValue('input[type="text"]');
|
||||||
console.log(' Code to redeem game:', code);
|
console.log(' Code to redeem game:', code);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue