diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java index 7ed5d135d21..a004c2c7bd2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java @@ -180,7 +180,7 @@ public void setUp() { isEdge = browser.getBrowserType().equals("edge"); String shellTitle = name.getMethodName(); - if (SwtTestUtil.isGTK && browser.getBrowserType().equals("webkit")) { + if (SwtTestUtil.isGTK) { // Note, webkitGtk version is only available once Browser is instantiated. String webkitGtkVersionStr = System.getProperty("org.eclipse.swt.internal.webkitgtk.version"); //$NON-NLS-1$