jesusramosr
Results
comments of
jesusramosr
I just solved my issue not using $$("h2") and using ((element.all(by.css('.h2'))[0]).getText() Looks like it try to get the text of all occurrences. Maybe it will help you.