fix: handle epic login captcha manually in legacy/new flows
This commit is contained in:
parent
728d08e551
commit
37de92c92e
2 changed files with 11 additions and 20 deletions
|
|
@ -125,7 +125,7 @@ const ensureLoggedIn = async (page, context) => {
|
|||
if (!cfg.eg_email || !cfg.eg_password) return false;
|
||||
try {
|
||||
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 emailField = page.locator('input[name="email"], input#email, input[aria-label="Sign in with email"]');
|
||||
const passwordField = page.locator('input[name="password"], input#password');
|
||||
const continueBtn = page.locator('button:has-text("Continue"), button#continue, button[type="submit"]');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue