Can someone please suggest if there is any way to search for an element with exact text while using cssContainingText. I am using below code but have multiple values in dropdown as below.
Value 1
Value 1 Test 1
Value 1 Protractor 1
Below is the code I am using.
element(by.cssContainingText('option', Value1)).click();