Right now in my Protractor test spec, Webstorm is complaining that all my element
and by
are "Unresolvable type or element"
WebStorm helps you to easily create Web sites by letting you edit HTML, CSS and JavaScript, navigate through files easily and use auto completion for everything in your code.
To configure project settings, select WebStorm | Preferences on macOS or File | Settings on Windows and Linux from the main menu. Alternatively, you can press Ctrl+Alt+S to show the IDE settings. icon. Other settings are global and apply to all existing projects.
angular-protractor
no longer appears on the list of TypeScript community stubs, presumably because protractor is now officially supported within the WebStorm IDE.
So, in order to ger protractor code completion:
npm install -g protractor
/usr/local/lib/node_modules/protractor
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With