Skip to content

Commit e2acb28

Browse files
committed
Ahahahahaha! Version numbers are hard.
*sigh*
1 parent d8132d6 commit e2acb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/test/org/openqa/selenium/testing/TestUtilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public static int getIEVersion(WebDriver driver) {
164164
} else if (tridentMatcher.find()) {
165165
versionMatcher = Pattern.compile("rv:(\\d+)").matcher(userAgent);
166166
} else {
167-
return 0;
167+
return Integer.MAX_VALUE; // Because people check to see if we're at this version or less
168168
}
169169

170170
// extract version string

0 commit comments

Comments
 (0)