CMS-4292 Make Selenium test for Content "shopping cart" feature

Fixed the selection behavior when item is selected not with checkbox.