For some reason my assert in protractor fails, what i'm trying to do is get the innerHTML (text) from an element:
var stuff = $('css').html();
expect(stuff).toBe("Inner HTML Text here");
I verified that the $().html() yields the text i desire on the console, what is wrong with my expect statement?
TypeError: Object [object Object] has no method 'html'