We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8132d6 commit e2acb28Copy full SHA for e2acb28
java/client/test/org/openqa/selenium/testing/TestUtilities.java
@@ -164,7 +164,7 @@ public static int getIEVersion(WebDriver driver) {
164
} else if (tridentMatcher.find()) {
165
versionMatcher = Pattern.compile("rv:(\\d+)").matcher(userAgent);
166
} else {
167
- return 0;
+ return Integer.MAX_VALUE; // Because people check to see if we're at this version or less
168
}
169
170
// extract version string
0 commit comments