The code line is:
class="ng-binding ng-scope" ng-bind="item.name">Soap
Its a drop down and I want to select the value 'soap'.
The code line is:
class="ng-binding ng-scope" ng-bind="item.name">Soap
Its a drop down and I want to select the value 'soap'.
You can use getAttribute
on the selected element :
expect(element(by.cssContainingText('option', 'Soap')).getAttribute('class')).toContain('ng-bind');