Skip to content

Commit a374d48

Browse files
committed
eg: fix login (email/password split), closes #236
1 parent d73a523 commit a374d48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

epic-games.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ try {
8383
const email = cfg.eg_email || await prompt({message: 'Enter email'});
8484
const password = email && (cfg.eg_password || await prompt({type: 'password', message: 'Enter password'}));
8585
if (email && password) {
86-
await page.click('text=Sign in with Epic Games');
86+
// await page.click('text=Sign in with Epic Games');
8787
await page.fill('#email', email);
88+
await page.click('button[type="submit"]');
8889
await page.fill('#password', password);
8990
await page.click('button[type="submit"]');
9091
page.waitForSelector('#h_captcha_challenge_login_prod iframe').then(async () => {

0 commit comments

Comments
 (0)