Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 183cd80

Browse files
committed
fix(browser): Fix browser.angularAppRoot()
By default, it wasn't returning anything. Now it returns a promise that resolves to internalAngularAppRoot. Fixes #4233
1 parent aaba0f6 commit 183cd80

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/browser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export class ProtractorBrowser extends AbstractExtendedWebDriver {
209209
return this.internalRootEl;
210210
});
211211
}
212+
return wdpromise.when(this.internalRootEl);
212213
}, `Set angular root selector to ${value}`);
213214
}
214215

0 commit comments

Comments
 (0)