eg: error: Incorrect repsonse for captcha!
This commit is contained in:
parent
59004cd4bb
commit
38975e811b
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ try {
|
||||||
await notify('epic-games: got captcha during login. Please check.');
|
await notify('epic-games: got captcha during login. Please check.');
|
||||||
}).catch(_ => { });
|
}).catch(_ => { });
|
||||||
page.waitForSelector('h6:has-text("Incorrect response.")').then(async () => {
|
page.waitForSelector('h6:has-text("Incorrect response.")').then(async () => {
|
||||||
console.error('CAPTCHA!')
|
console.error('Incorrect repsonse for captcha!')
|
||||||
}).catch(_ => { });
|
}).catch(_ => { });
|
||||||
// handle MFA, but don't await it
|
// handle MFA, but don't await it
|
||||||
page.waitForURL('**/id/login/mfa**').then(async () => {
|
page.waitForURL('**/id/login/mfa**').then(async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue