From d0761dea2627ea3fc1360a64bce9ad298245ad08 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 17 Aug 2023 16:37:05 +0200 Subject: [PATCH] pg: dlc: account linking: mention store, close #180 --- prime-gaming.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-gaming.js b/prime-gaming.js index 1af1eb8b..d22c8e7d 100644 --- a/prime-gaming.js +++ b/prime-gaming.js @@ -330,7 +330,7 @@ try { const linkAccountModal = page.locator('[data-a-target="LinkAccountModal"]'); const linkAccountButton = linkAccountModal.locator('[data-a-target="LinkAccountButton"]'); if (await linkAccountButton.count()) { - console.error(' Missing account linking:', await linkAccountButton.innerText()); + console.error(' Missing account linking:', await linkAccountButton.getAttribute('aria-label')); } 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()); } else {