protractor locators code example Example: angular specific attributes and locators list var ele = element(locator); // Click on the element. ele.click();