end to end testing protractor code example Example: how to install protractor npm install -g protractor