From 4ebbc65286b66eb1bfecd7149deb364cd6d96f79 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Fri, 6 Jun 2025 13:12:13 +0200 Subject: [PATCH] eg: login is now using two buttons again, #484 --- epic-games.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epic-games.js b/epic-games.js index 4731a2c..3213707 100644 --- a/epic-games.js +++ b/epic-games.js @@ -103,12 +103,12 @@ try { console.error('Incorrect response for captcha!'); }).catch(_ => { }); await page.fill('#email', email); - // await page.click('button[type="submit"]'); login was split in two steps for some time, now email and password are on the same form again + await page.click('button#continue'); // login was split in two steps for some time, then email and password on the same form, now two steps again... const password = email && (cfg.eg_password || await prompt({ type: 'password', message: 'Enter password' })); if (!password) await notifyBrowserLogin(); else { await page.fill('#password', password); - await page.click('button[type="submit"]'); + await page.click('button#sign-in'); } const error = page.locator('#form-error-message'); error.waitFor().then(async () => {