pg: fixup e2e28301e6?
This commit is contained in:
parent
e2e28301e6
commit
7551a6ca96
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ try {
|
||||||
unlinked_store = await linkAccountButton.getAttribute('aria-label');
|
unlinked_store = await linkAccountButton.getAttribute('aria-label');
|
||||||
console.debug(' LinkAccountButton label:', unlinked_store);
|
console.debug(' LinkAccountButton label:', unlinked_store);
|
||||||
const match = unlinked_store.match(/Link (.*) account/);
|
const match = unlinked_store.match(/Link (.*) account/);
|
||||||
if (match.length == 2) unlinked_store = match[1];
|
if (match && match.length == 2) unlinked_store = match[1];
|
||||||
} 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 (epic-games specific button?):', await page.locator('button[data-a-target="gms-cta"]').innerText()); // TODO needed?
|
console.error(' Missing account linking (epic-games specific button?):', await page.locator('button[data-a-target="gms-cta"]').innerText()); // TODO needed?
|
||||||
unlinked_store = 'epic-games';
|
unlinked_store = 'epic-games';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue