This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Cannot read property '$$testability' of undefined #4233
Closed
Description
In Protractor 5.1.1 if your Angular app has a root element other than <body>
, you'll see the error Cannot read property '$$testability' of undefined
. This is because browser.angularAppRoot() is expected to return the current value of app root if a value isn't passed to it, but currently returns undefined.