package ru.stqa.selenium.example;

public class stickersScene {
}

@@ -32,35 +32,989 @@
 e;%0A%0A
-public class stickersScene %7B
+import org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport java.util.List;%0A%0Apublic class stickersScene extends TestBase %7B%0A%0A    @Test%0A    public void stickers() %7B%0A        driver.get(%22http://localhost/litecart/%22);%0A%0A        WebElement products = driver.findElement(By.cssSelector(%22.middle %3E .content%22));%0A        List %3CWebElement%3E box = products.findElements(By.className(%22box%22));%0A%0A        for (int i = 0; i %3C box.size(); i++) %7B%0A            List %3CWebElement%3E ducks = box.get(i).findElements(By.tagName(%22li%22));%0A%0A            System.out.println(%22%5Cn%22+box.get(i).findElement(By.className(%22title%22)).getText());%0A%0A            for (int j = 0; j %3C ducks.size(); j++) %7B%0A                WebElement sticker = ducks.get(j).findElement(By.className(%22sticker%22));%0A                String duckName = ducks.get(j).findElement(By.className(%22name%22)).getText();%0A%0A                System.out.println(duckName + %22 is %22 + sticker.getText());%0A            %7D%0A        %7D%0A    %7D
 %0A%7D%0A

Done the task №8