Search in sources :

Example 1 with MainPageWithFindBy

use of com.epam.healenium.selenium.pageobject.markup.MainPageWithFindBy in project healenium-example-maven by healenium.

the class SeleniumContext method useSettings.

@Override
public HashMap<String, FrameworkPage> useSettings() {
    HashMap<String, FrameworkPage> seleniumContext = new HashMap<>();
    seleniumContext.put(String.valueOf(PagesType.TEST_ENV), new TestEnvPage(this.driver));
    seleniumContext.put(String.valueOf(PagesType.MARKUP), new MarkupPage(this.driver));
    seleniumContext.put(String.valueOf(PagesType.MARKUP_FIND_BY), new MainPageWithFindBy(this.driver));
    seleniumContext.put(String.valueOf(PagesType.CALLBACK), new CallbackPage(this.driver));
    return seleniumContext;
}
Also used : FrameworkPage(com.epam.healenium.FrameworkPage) HashMap(java.util.HashMap) MainPageWithFindBy(com.epam.healenium.selenium.pageobject.markup.MainPageWithFindBy) TestEnvPage(com.epam.healenium.selenium.pageobject.testenv.TestEnvPage) MarkupPage(com.epam.healenium.selenium.pageobject.markup.MarkupPage) CallbackPage(com.epam.healenium.selenium.pageobject.callback.CallbackPage)

Aggregations

FrameworkPage (com.epam.healenium.FrameworkPage)1 CallbackPage (com.epam.healenium.selenium.pageobject.callback.CallbackPage)1 MainPageWithFindBy (com.epam.healenium.selenium.pageobject.markup.MainPageWithFindBy)1 MarkupPage (com.epam.healenium.selenium.pageobject.markup.MarkupPage)1 TestEnvPage (com.epam.healenium.selenium.pageobject.testenv.TestEnvPage)1 HashMap (java.util.HashMap)1