diff --git a/lib/browser.ts b/lib/browser.ts index 3228a4cd0..85d620451 100644 --- a/lib/browser.ts +++ b/lib/browser.ts @@ -209,6 +209,7 @@ export class ProtractorBrowser extends AbstractExtendedWebDriver { return this.internalRootEl; }); } + return wdpromise.when(this.internalRootEl); }, `Set angular root selector to ${value}`); }