You knew already we have one of the best useful locators in protractor "element(by.CssContainingText('qwer', 'Apple'))".But I need the same kind of locator in selenium also if we have. I checked in selenium web driver Docs but I didn't find anything. Can you please help with this because I felt it's very easy to find the unique element in HTML by using the above locator.
Thanks in Advance.