PassionTeaCoWelcomePO.java

The following code is for the PassionTeaCoWelcomePO.java class:

import org.openqa.selenium.*;import org.openqa.selenium.support.FindBy;import static org.testng.Assert.assertEquals;/** * @author Carl Cocchiaro * * Passion Tea Company Welcome Sub-class Page Object Class * */public class PassionTeaCoWelcomePO<M extends WebElement> extends PassionTeaCoBasePO<M> {    // local variables    private static final String WELCOME_TITLE = "Welcome";    private static final String MENU_TITLE = "Menu";    protected static enum WELCOME_PAGE_IMG    { PASSION_TEA_CO, LEAF, ORGANIC, TEA_CUP, HERBAL_TEA, LOOSE_TEA,       FLAVORED_TEA };    protected static enum MENU_LINKS    { MENU, MORE_1, MORE_2, HERBAL_TEA, LOOSE_TEA, FLAVORED_TEA,       SEE_COLLECTION1, SEE_COLLECTION2 ...

Get Learn Selenium now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.