diff --git a/lib/browser.ts b/lib/browser.ts index 941e269bd..5f7e02d19 100644 --- a/lib/browser.ts +++ b/lib/browser.ts @@ -270,7 +270,7 @@ export class Browser { // PhantomJS produces a "Detected a page unload event" if we use data urls var browserName = caps.get('browserName'); if (browserName === 'internet explorer' || browserName === 'safari' || - browserName === 'phantomjs') { + browserName === 'phantomjs' || browserName === 'MicrosoftEdge') { this.resetUrl = 'about:blank'; } });