Right now in my Protractor test spec, Webstorm is complaining that all my element and by are \"Unresolvable type or element\"
element
by
You could localise variable for your scope:
var element = protractor.element;