convert to new protractor syntax