From a374d483451f1fa19c0f9f461e32cb37a4b46fd7 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Wed, 25 Oct 2023 19:48:58 +0200 Subject: [PATCH] eg: fix login (email/password split), closes #236 --- epic-games.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index d0dd5375..0cafd1f3 100644 --- a/epic-games.js +++ b/epic-games.js @@ -83,8 +83,9 @@ try { const email = cfg.eg_email || await prompt({message: 'Enter email'}); const password = email && (cfg.eg_password || await prompt({type: 'password', message: 'Enter password'})); if (email && password) { - await page.click('text=Sign in with Epic Games'); + // await page.click('text=Sign in with Epic Games'); await page.fill('#email', email); + await page.click('button[type="submit"]'); await page.fill('#password', password); await page.click('button[type="submit"]'); page.waitForSelector('#h_captcha_challenge_login_prod iframe').then(async () => {