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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/browser.ts

+1
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)