Remove Edge from supported web drivers (#30423)

Closes #29921

Signed-off-by: wojnarfilip <fwojnar@redhat.com>
Co-authored-by: wojnarfilip <fwojnar@redhat.com>
This commit is contained in:
fwojnar 2024-06-24 17:24:55 +02:00 committed by GitHub
parent e30e6cba8e
commit 015fefad02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 10 deletions

View file

@ -139,11 +139,6 @@
<artifactId>selenium-firefox-driver</artifactId> <artifactId>selenium-firefox-driver</artifactId>
<version>${selenium.version}</version> <version>${selenium.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-edge-driver</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId> <artifactId>selenium-remote-driver</artifactId>

View file

@ -19,7 +19,6 @@ package org.keycloak.testsuite.util;
import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxDriver;
/** /**
@ -40,8 +39,4 @@ public class BrowserDriverUtil {
public static boolean isDriverFirefox(WebDriver driver) { public static boolean isDriverFirefox(WebDriver driver) {
return isDriverInstanceOf(driver, FirefoxDriver.class); return isDriverInstanceOf(driver, FirefoxDriver.class);
} }
public static boolean isDriverEdge(WebDriver driver) {
return isDriverInstanceOf(driver, EdgeDriver.class);
}
} }