convert sanitize from scenario to protractor