From ec69bf1a0c57fd08c16e66cc70e4deca92142343 Mon Sep 17 00:00:00 2001 From: nocci Date: Wed, 31 Dec 2025 13:32:39 +0000 Subject: [PATCH] fix: click continue button on epic email step in new claimer --- epic-claimer-new.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epic-claimer-new.js b/epic-claimer-new.js index aef8bae..fbc212a 100644 --- a/epic-claimer-new.js +++ b/epic-claimer-new.js @@ -127,12 +127,12 @@ const ensureLoggedIn = async (page, context) => { await page.goto('https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=' + URL_CLAIM, { waitUntil: 'domcontentloaded' }); const emailField = page.locator('input[name="email"], input#email'); const passwordField = page.locator('input[name="password"], input#password'); - const continueBtn = page.locator('button:has-text("Continue"), button[type="submit"]'); + const continueBtn = page.locator('button:has-text("Continue"), button#continue, button[type="submit"]'); // step 1: email + continue if (await emailField.count()) { await emailField.fill(cfg.eg_email); - await continueBtn.first().click(); + await continueBtn.first().click().catch(() => {}); } // step 2: password + submit