Skip to content

Commit

Permalink
eg: fix login (email/password split), closes #236
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Oct 25, 2023
1 parent d73a523 commit a374d48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion epic-games.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit a374d48

Please sign in to comment.