0

My code snippet

getitemsCount:function (css) {
    return element(by.deepCss(css));
},
getCount:function(){
    return this.getitemsCount('span.summary').getText().then(function (text) {
        return text;
    })
},

able to print text value to console but not returning . any help is appreciated. thanks in advance

alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195

0 Answers0