allow protractor args to be passed in as an object