use of com.epam.jdi.uitests.core.logger.JDILogger in project page-factory-2 by sbtqa.
the class JDIUtils method setJDIConfig.
public static void setJDIConfig(Supplier<WebDriver> driverSupplier) {
try {
WebSettings.initFromProperties();
WebSettings.logger = new JDILogger();
} catch (IOException e) {
throw new FactoryRuntimeException("Exception occurred during setting jdi", e);
}
driverName = WebSettings.useDriver(driverSupplier);
}
Aggregations