@@ -0,0 +1,1014 @@
+package org.jtalks.tests.jcommune.webdriver.action;%0A%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0Aimport ru.yandex.qatools.allure.annotations.Step;%0A%0Aimport static org.jtalks.tests.jcommune.utils.Utils.CLOSE_CURRENT_TAB_CHORD;%0Aimport static org.jtalks.tests.jcommune.utils.Utils.OPEN_NEW_TAB_CHORD;%0Aimport static org.jtalks.tests.jcommune.webdriver.JCommuneSeleniumConfig.driver;%0Aimport static org.jtalks.tests.jcommune.webdriver.JCommuneSeleniumConfig.getJs;%0A%0A/**%0A * @author baranov.r.p%0A */%0Apublic class Pages %7B%0A%0A    @Step%0A    public static void refreshPage() %7B%0A        driver.navigate().refresh();%0A    %7D%0A%0A    @Step%0A    public static void scrollToEl(WebElement el) %7B%0A        getJs().executeScript(%22arguments%5B0%5D.scrollIntoView(false);%22, el);%0A    %7D%0A%0A    @Step%0A    public static void openAndCloseNewTab() %7B%0A        By bodyTag = By.tagName(%22body%22);%0A        driver.findElement(bodyTag).sendKeys(OPEN_NEW_TAB_CHORD);%0A        driver.findElement(bodyTag).sendKeys(CLOSE_CURRENT_TAB_CHORD);%0A    %7D%0A%7D

add class with actions that can be performed on any page - add method for scroll to element (gives a confidence that element is visible); - add method for refresh page without usage the cache; - add method for open and close new tab;