diff --git a/epic-games.js b/epic-games.js index ff8f3e0..fbf5732 100644 --- a/epic-games.js +++ b/epic-games.js @@ -215,8 +215,10 @@ try { page.click('button:has-text("Yes, buy now")').catch(_ => { }); // Accept End User License Agreement (only needed once) - page.locator('input#agree').waitFor().then(async () => { + page.locator(':has-text("end user license agreement")').waitFor().then(async () => { console.log(' Accept End User License Agreement (only needed once)'); + console.log(page.innerHTML); + console.log('Please report the HTML above here: https://github.com/vogler/free-games-claimer/issues/371'); await page.locator('input#agree').check(); // TODO Bundle: got stuck here await page.locator('button:has-text("Accept")').click(); }).catch(_ => { });