Skip to content

Commit

Permalink
fix ms driver check
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 28, 2023
1 parent e015082 commit e07ba67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/htmlunit/ExternalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ExternalTest {
static String CHROME_DRIVER_URL_ =
"https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json";

static String EDGE_DRIVER_ = "119.0.2151.72";
static String EDGE_DRIVER_ = "119.0.2151.93";
static String EDGE_DRIVER_URL_ = "https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/";

/** Gecko driver. */
Expand Down Expand Up @@ -173,7 +173,7 @@ public void assertEdgeDriver() throws Exception {
final Pattern regex =
Pattern.compile("Version ("
+ BrowserVersion.EDGE.getBrowserVersionNumeric()
+ "\\.\\d*\\.\\d*\\.\\d*)\\sLinux");
+ "\\.\\d*\\.\\d*\\.\\d*)\\s");
final Matcher matcher = regex.matcher(content);
while (matcher.find()) {
if (version.compareTo(matcher.group(1)) < 0) {
Expand Down

0 comments on commit e07ba67

Please sign in to comment.