on element(by.css(.phones li a)).click(); selenium will throw a warning message that more then one element found. element.all(by.css('.phones li a')).first().click(); fixes the issue