protractor external js file code example Example: javascript class in external file class User { //... } module.exports = User