Skip to content

Commit

Permalink
Merge pull request #129 from aquality-automation/remove_webdriver_man…
Browse files Browse the repository at this point in the history
…ager

Removed webDriverManager (redundant for new Selenium version)
  • Loading branch information
NikRusakA1QA2 authored Oct 31, 2023
2 parents 36f3c4b + b604d13 commit 122e911
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.aquality-automation</groupId>
<artifactId>aquality-selenium</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
<packaging>jar</packaging>
<name>Aquality Selenium</name>
<description>Library around Selenium WebDriver</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 122e911

Please sign in to comment.