angular/protractor — pull request #488 by bcaudan (2014-02-03 21:27:46+00:00)
Title: feat(locators): Added a By.cssContainingText locator.

This new locator find elements by css selector and inner text in response to the lack of ':contains' selector.

Example: By.cssContainingText('ul .pet', 'Dog') will find all ul children with class 'pet' containing the text 'Dog'.