How to make webstorm recognize protractor 'browser' in a test spec?
|
|
In my test spec.js, Webstorm marks 'browser' as 'Unresolved variable or type' I searched this issue, someone said that the library 'angular-protractor' should be download and installed. But there is NO 'angular-protractor' library in the Webstorm download list. How to make JetBrains webstorm know about `element`, `by` in protractor test spec?
|
Please sign in to leave a comment.



The typings are bundled with protractor node module, so, if it's installed and included in indexing, d.ts files from node_modules\protractor\built should be available for types resolving. Works fine for me - checked in 2 different projects
Thanks. It works.