From 86832e7fe986cbc52e7531040e63b35fe95a0b05 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 17 Aug 2023 16:43:47 +0200 Subject: [PATCH] pg: dlc: log url of dlc if account not linked, #180 --- prime-gaming.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-gaming.js b/prime-gaming.js index d22c8e7..90b1a15 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.getAttribute('aria-label')); + console.error(' Missing account linking:', await linkAccountButton.getAttribute('aria-label'), url); } 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 {