eg: fix login (email/password split), closes #236
This commit is contained in:
parent
d73a523fe7
commit
a374d48345
1 changed files with 2 additions and 1 deletions
|
|
@ -83,8 +83,9 @@ try {
|
||||||
const email = cfg.eg_email || await prompt({message: 'Enter email'});
|
const email = cfg.eg_email || await prompt({message: 'Enter email'});
|
||||||
const password = email && (cfg.eg_password || await prompt({type: 'password', message: 'Enter password'}));
|
const password = email && (cfg.eg_password || await prompt({type: 'password', message: 'Enter password'}));
|
||||||
if (email && 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.fill('#email', email);
|
||||||
|
await page.click('button[type="submit"]');
|
||||||
await page.fill('#password', password);
|
await page.fill('#password', password);
|
||||||
await page.click('button[type="submit"]');
|
await page.click('button[type="submit"]');
|
||||||
page.waitForSelector('#h_captcha_challenge_login_prod iframe').then(async () => {
|
page.waitForSelector('#h_captcha_challenge_login_prod iframe').then(async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue