obtasks/DIR-3716 /Note 2019-04-25T11.24.38.md

28 lines
355 B
Markdown
Raw Permalink Normal View History

2019-04-30 14:54:06 +00:00
DIR-3716
2019-04-29 13:49:56 +00:00
========================
```
const pageUrl = url.parse(await this.page.url());
if (pageUrl.href === 'chrome-error://chromewebdata/') {
logger.warn('Directed to: chrome-error://chromewebdata/');
this.emit('recover');
return;
}
// clear out stock recover handler
this.removeAllListeners('recover');
```