CMS-4211 add scrolling in ui-tests, when checking the existence of content.