From cb9aed28719a10d6719e035a47d394f44ee72a94 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Wed, 11 May 2022 14:01:44 +0200 Subject: [PATCH] mention noVNC URL in login message --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index 1e165c7..65a5825 100644 --- a/epic-games.js +++ b/epic-games.js @@ -43,7 +43,7 @@ await page.goto(URL_CLAIM, { waitUntil: 'domcontentloaded' }); // default 'load' // with persistent context the cookie message will only show up the first time, so we can't unconditionally wait for it - try to catch it or let the user click it. await clickIfExists('button:has-text("Accept All Cookies")'); // to not waste screen space in --debug while (await page.locator('a[role="button"]:has-text("Sign In")').count() > 0) { // TODO also check alternative for signed-in state - console.error("Not signed in anymore. Please login and then navigate to the 'Free Games' page."); + console.error("Not signed in anymore. Please login and then navigate to the 'Free Games' page. If using docker, open http://localhost:6080"); context.setDefaultTimeout(0); // give user time to log in without timeout await page.goto(URL_LOGIN, { waitUntil: 'domcontentloaded' }); // after login it just reloads the login page...