@@ -0,0 +1,1641 @@
+package com.qaprosoft.carina.core.demo.gui.gsmarena.pages;%0A%0Aimport com.qaprosoft.carina.core.demo.gui.gsmarena.components.compare.CondidateBlock;%0Aimport com.qaprosoft.carina.core.demo.gui.gsmarena.components.compare.ModelSpecs;%0Aimport com.qaprosoft.carina.core.foundation.webdriver.decorator.ExtendedWebElement;%0Aimport com.qaprosoft.carina.core.gui.AbstractPage;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.support.FindBy;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class CompareModelsPage extends AbstractPage %7B%0A%0A    @FindBy(xpath = %22//div%5Bcontains(@class, 'candidate-search')%5D%22)%0A    private List%3CCondidateBlock%3E condidateBlocks;%0A%0A    public CompareModelsPage(WebDriver driver) %7B%0A        super(driver);%0A    %7D%0A%0A    public List%3CModelSpecs%3E compareModels(String... models) %7B%0A        CondidateBlock condidateBlock;%0A        List%3CModelSpecs%3E modelSpecs = new ArrayList%3C%3E();%0A        ModelSpecs modelSpec;%0A        for(int index = 0; index %3C models.length; index++) %7B%0A            modelSpec = new ModelSpecs();%0A            condidateBlock = condidateBlocks.get(index);%0A            condidateBlock.sendKeysToInputField(models%5Bindex%5D);%0A            condidateBlock.getFirstPhone();%0A            for(ModelSpecs.SpecType type : ModelSpecs.SpecType.values()) %7B%0A                ExtendedWebElement cpec = findExtendedWebElement(By.xpath(%22//tr%5B.//a%5Btext()='%22 + type.getType() +%0A                        %22'%5D%5D//td%5B@class='nfo'%5D%22));%0A                modelSpec.setToModelSpecsMap(type, cpec.getText());%0A            %7D%0A            modelSpecs.add(modelSpec);%0A        %7D%0A        return modelSpecs;%0A    %7D%0A%7D%0A

add CompareModelsPage.java