PopperFramework Wiki
Declarative PageObject description
Status: Beta
Brought to you by:
michaelbulla
:::java
WebdriverContext context = new WebdriverContext();
context.getDefaultConfig().setBaseUrl("http://your.system.under.test.com");
context.getDefaultConfig().setBrowser(Browser.FIREFOX);
context.getDefaultConfig().setImplicitTimeout(3000);
context.getDefaultConfig().setLocale(Locale.ENGLISH);
context.getDefaultConfig().setSeleniumHost("http://your.remoteserver.com:4444");
IPoFactory factory = context.getFactory();
:::java
WebdriverContext context = new WebdriverContext();
context.getDefaultConfig().configureByPropertyfile("/path/to/resource/in/classpath");
IPoFactory factory = context.getFactory();
browserName=FIREFOX
seleniumHost=http://your.remoteserver.com:4444
implicitTimeout=3000
browserLanguage=en_US
baseUrl=http://your.system.under.test.com