Skip to content

Commit

Permalink
edge 102, FF 101
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Jun 1, 2022
1 parent a54b74c commit 5e0dba0
Show file tree
Hide file tree
Showing 7 changed files with 970 additions and 931 deletions.
12 changes: 6 additions & 6 deletions src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public final class BrowserVersion implements Serializable {
private static final String PLATFORM_WIN64 = "Win64";

/** Latest Firefox. */
public static final BrowserVersion FIREFOX = new BrowserVersion(100, "FF");
public static final BrowserVersion FIREFOX = new BrowserVersion(101, "FF");

private static final int FIREFOX_ESR_NUMERIC = 91;
/** Firefox ESR. */
Expand All @@ -111,7 +111,7 @@ public final class BrowserVersion implements Serializable {
public static final BrowserVersion INTERNET_EXPLORER = new BrowserVersion(11, "IE");

/** Latest Edge */
public static final BrowserVersion EDGE = new BrowserVersion(101, "Edge");
public static final BrowserVersion EDGE = new BrowserVersion(102, "Edge");

/** Latest Chrome. */
public static final BrowserVersion CHROME = new BrowserVersion(102, "Chrome");
Expand Down Expand Up @@ -277,11 +277,11 @@ public final class BrowserVersion implements Serializable {

// EDGE (Win10 64bit)
EDGE.applicationVersion_ = "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/"
+ EDGE.getBrowserVersionNumeric() + ".0.4951.41 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1210.32";
+ EDGE.getBrowserVersionNumeric() + ".0.5005.63 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1245.30";
EDGE.userAgent_ = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/"
+ EDGE.getBrowserVersionNumeric() + ".0.4951.41 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1210.32";
+ EDGE.getBrowserVersionNumeric() + ".0.5005.63 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1245.30";

EDGE.applicationCodeName_ = "Mozilla";
EDGE.vendor_ = "Google Inc.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void getBrowserVersionNumeric() {
assertEquals(91, BrowserVersion.FIREFOX_ESR.getBrowserVersionNumeric());
assertEquals(11, BrowserVersion.INTERNET_EXPLORER.getBrowserVersionNumeric());
assertEquals(102, BrowserVersion.CHROME.getBrowserVersionNumeric());
assertEquals(101, BrowserVersion.EDGE.getBrowserVersionNumeric());
assertEquals(102, BrowserVersion.EDGE.getBrowserVersionNumeric());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ExternalTest {
static String CHROME_DRIVER_ = "102.0.5005.61";
static String CHROME_DRIVER_URL_ = "https://chromedriver.chromium.org/downloads";

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

/** Gecko driver. */
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ public void section() throws Exception {
*/
@Test
@Alerts(DEFAULT = "22",
FF = "43",
FF = "26",
FF_ESR = "26",
IE = "23")
@HtmlUnitNYI(CHROME = "0",
Expand Down Expand Up @@ -1805,7 +1805,7 @@ public void inputCheckbox() throws Exception {
*/
@Test
@Alerts(DEFAULT = "253",
FF = "261",
FF = "230",
FF_ESR = "230",
IE = "228")
@HtmlUnitNYI(CHROME = "10",
Expand Down Expand Up @@ -1863,7 +1863,7 @@ public void inputRadio() throws Exception {
*/
@Test
@Alerts(DEFAULT = "47",
FF = "83",
FF = "40",
FF_ESR = "40",
IE = "55")
@HtmlUnitNYI(CHROME = "55",
Expand Down Expand Up @@ -1896,7 +1896,7 @@ public void inputSelect() throws Exception {
*/
@Test
@Alerts(DEFAULT = "54",
FF = "100",
FF = "86",
FF_ESR = "86",
IE = "101")
@HtmlUnitNYI(CHROME = "118",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ public void section() throws Exception {
*/
@Test
@Alerts(DEFAULT = "24",
FF = "47",
FF = "30",
FF_ESR = "30",
IE = "25")
@HtmlUnitNYI(CHROME = "0",
Expand Down Expand Up @@ -1830,7 +1830,7 @@ public void inputCheckbox() throws Exception {
*/
@Test
@Alerts(DEFAULT = "253",
FF = "261",
FF = "230",
FF_ESR = "230",
IE = "228")
@HtmlUnitNYI(CHROME = "10",
Expand Down Expand Up @@ -1894,7 +1894,7 @@ public void inputRadio() throws Exception {
*/
@Test
@Alerts(DEFAULT = "51",
FF = "87",
FF = "44",
FF_ESR = "44",
IE = "57")
@HtmlUnitNYI(CHROME = "55",
Expand Down Expand Up @@ -1932,7 +1932,7 @@ public void inputSelect() throws Exception {
*/
@Test
@Alerts(DEFAULT = "58",
FF = "104",
FF = "90",
FF_ESR = "90",
IE = "103")
@HtmlUnitNYI(CHROME = "118",
Expand Down

0 comments on commit 5e0dba0

Please sign in to comment.