Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #402 from sbtqa/proper-latest-handling
Browse files Browse the repository at this point in the history
Proper latest handling
  • Loading branch information
clicman authored Aug 28, 2023
2 parents 40aaa13 + ec8ef93 commit 3dbfe41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package ru.sbtqa.tag.pagefactory.web.configure;

import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.stream.JsonReader;
import io.github.bonigarcia.wdm.Architecture;
import io.github.bonigarcia.wdm.BrowserManager;
import io.github.bonigarcia.wdm.OperativeSystem;
Expand All @@ -14,7 +10,6 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static org.apache.commons.lang3.SystemUtils.IS_OS_LINUX;
Expand Down Expand Up @@ -62,8 +57,7 @@ private static void configureWebDriverManagerVersion(BrowserManager webDriverMan
LOG.warn("You use IE browser. Switching to LATEST driver version. "
+ "You can specify driver version by using 'webdriver.version' param.");
} else {
String detectedVersion = detectBrowserVersion();
driverVersion = detectedVersion == null ? PROPERTIES.getBrowserVersion() : detectedVersion;
driverVersion = detectBrowserVersion();
}
} else {
driverVersion = PROPERTIES.getBrowserVersion();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<surefire.version>2.22.1</surefire.version>
<tag.version.qautils>1.9.0</tag.version.qautils>
<tag.version.videorecorder>1.1.2</tag.version.videorecorder>
<tag.version.webdrivermanager>2.4.0</tag.version.webdrivermanager>
<tag.version.webdrivermanager>2.4.1</tag.version.webdrivermanager>
<tag.version.datajack>5.2.3</tag.version.datajack>
<allure.version>2.13.0</allure.version>
<netty.version>4.1.87.Final</netty.version>
Expand Down

0 comments on commit 3dbfe41

Please sign in to comment.