eg: notify about captcha before claim, closes #191
This commit is contained in:
parent
6bb1dca934
commit
621032e459
1 changed files with 1 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ try {
|
||||||
captcha.waitFor().then(async () => { // don't await, since element may not be shown
|
captcha.waitFor().then(async () => { // don't await, since element may not be shown
|
||||||
// console.info(' Got hcaptcha challenge! NopeCHA extension will likely solve it.')
|
// console.info(' Got hcaptcha challenge! NopeCHA extension will likely solve it.')
|
||||||
console.error(' Got hcaptcha challenge! Lost trust due to too many login attempts? You can solve the captcha in the browser or get a new IP address.')
|
console.error(' Got hcaptcha challenge! Lost trust due to too many login attempts? You can solve the captcha in the browser or get a new IP address.')
|
||||||
|
await notify('epic-games: got captcha challenge right before claim. Use VNC to solve it manually.')
|
||||||
// await page.waitForTimeout(2000);
|
// await page.waitForTimeout(2000);
|
||||||
// const p = path.resolve(cfg.dir.screenshots, 'epic-games', 'captcha', `${filenamify(datetime())}.png`);
|
// const p = path.resolve(cfg.dir.screenshots, 'epic-games', 'captcha', `${filenamify(datetime())}.png`);
|
||||||
// await captcha.screenshot({ path: p });
|
// await captcha.screenshot({ path: p });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue