Changed several locators and add method elementIsSelected