@@ -0,0 +1,935 @@
+package ru.stqa.training.selenium;%0A%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport java.util.List;%0A%0A/**%0A * Created by %D0%90%D0%BD%D0%B4%D1%80%D0%B5%D0%B9 on 13.01.2017.%0A */%0Apublic class Test14 extends TestBase%7B%0A%0A%0A    @Test%0A    public void newWindow()%7B%0A%0A        driver.navigate().to(%22http://localhost/litecart/admin/?app=countries&doc=countries%22);%0A        driver.findElement(By.name(%22username%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22password%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22login%22)).click();%0A%0A        WebElement rowToFind = driver.findElement(By.xpath(%22//a%5Bcontains(text(),'Russian Federation')%5D/../..%22));%0A        rowToFind.findElement(By.cssSelector(%22.fa-pencil%22)).click();%0A%0A        WebElement contentElement = driver.findElement(By.cssSelector(%22.content%22));%0A        List%3CWebElement%3E linksArray = driver.findElements(By.cssSelector(%22%5Btarget='_blank'%5D%22));%0A%0A    %7D%0A%0A%0A%7D%0A

Task 14