diff --git a/pom.xml b/pom.xml index 6547771..22c0765 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.aquality-automation aquality-selenium - 4.0.0 + 4.0.1 jar Aquality Selenium Library around Selenium WebDriver diff --git a/src/main/java/aquality/selenium/browser/LocalBrowserFactory.java b/src/main/java/aquality/selenium/browser/LocalBrowserFactory.java index 555600f..516d712 100644 --- a/src/main/java/aquality/selenium/browser/LocalBrowserFactory.java +++ b/src/main/java/aquality/selenium/browser/LocalBrowserFactory.java @@ -39,15 +39,9 @@ protected RemoteWebDriver getDriver() { switch (browserName) { case CHROME: case YANDEX: - WebDriverManager.chromedriver().driverVersion(webDriverVersion).setup(); - driver = new ChromeDriver((ChromeOptions) driverSettings.getDriverOptions()); - break; - case OPERA: - WebDriverManager.operadriver().driverVersion(webDriverVersion).setup(); driver = new ChromeDriver((ChromeOptions) driverSettings.getDriverOptions()); break; case FIREFOX: - WebDriverManager.firefoxdriver().driverVersion(webDriverVersion).setup(); driver = new FirefoxDriver((FirefoxOptions) driverSettings.getDriverOptions()); break; case IEXPLORER: