dev #1

Merged
nocci merged 51 commits from dev into main 2026-03-06 16:31:29 +01:00
Showing only changes of commit ec69bf1a0c - Show all commits

View file

@ -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