Fixed bug in SeleniumHelper class

Fixed bug where helper class didn’t display text from div and child
elements in the order they are displayed in the DOM.