Common code and configurations for protractor