Skip to content

Commit

Permalink
fix(browser): Fix browser.angularAppRoot()
Browse files Browse the repository at this point in the history
By default, it wasn't returning anything. Now it returns a promise that
resolves to internalAngularAppRoot. Fixes angular#4233
  • Loading branch information
heathkit committed Apr 26, 2017
1 parent 8249167 commit bede736
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export class ProtractorBrowser extends AbstractExtendedWebDriver {
return this.internalRootEl;
});
}
return wdpromise.when(this.internalRootEl);
}, `Set angular root selector to ${value}`);
}

Expand Down

0 comments on commit bede736

Please sign in to comment.