diff --git a/ivy.xml b/ivy.xml index 6d1d6631..35daec0e 100644 --- a/ivy.xml +++ b/ivy.xml @@ -134,8 +134,8 @@ SOFTWARE. + --> + diff --git a/src/com/qmetry/qaf/automation/ui/UiDriverFactory.java b/src/com/qmetry/qaf/automation/ui/UiDriverFactory.java index ddc7cac9..a7051e44 100644 --- a/src/com/qmetry/qaf/automation/ui/UiDriverFactory.java +++ b/src/com/qmetry/qaf/automation/ui/UiDriverFactory.java @@ -66,7 +66,7 @@ import com.qmetry.qaf.automation.ui.webdriver.QAFWebDriverCommandListener; import com.qmetry.qaf.automation.util.StringUtil; -//import io.github.bonigarcia.wdm.WebDriverManager; +import io.github.bonigarcia.wdm.WebDriverManager; /** * com.qmetry.qaf.automation.ui.UiDriverFactory.java @@ -418,7 +418,7 @@ private QAFExtendedWebDriver getDriver(WebDriverCommandLogger reporter, String u return new QAFExtendedWebDriver(ChromeDriverHelper.getService().getUrl(), desiredCapabilities, reporter); }*/ - //setUpDriverExecutable(driverCls); + setUpDriverExecutable(driverCls); WebDriver driver = getDriverObj(driverCls, desiredCapabilities, urlstr);// driverCls.newInstance(); return new QAFExtendedWebDriver(driver, reporter); } catch (Throwable e) { @@ -429,7 +429,7 @@ private QAFExtendedWebDriver getDriver(WebDriverCommandLogger reporter, String u } } - /*private static void setUpDriverExecutable(Class driverClass) { + private static void setUpDriverExecutable(Class driverClass) { try { if (ConfigurationManager.getBundle().getBoolean("manage.driver.executable", true)) { logger.info( @@ -444,7 +444,7 @@ private QAFExtendedWebDriver getDriver(WebDriverCommandLogger reporter, String u "Unable to setup driver executable: "+e.getMessage()); } - }*/ + } private QAFExtendedWebDriver getDriver(String url, WebDriverCommandLogger reporter) { Capabilities desiredCapabilities = getDesiredCapabilities();