See https://github.com/angular/protractor/issues/1190
See angular/protractor#1190