From 9b10b7e8f00aa58bc7a78af88f7d31e637700348 Mon Sep 17 00:00:00 2001 From: ppawar17 Date: Wed, 13 Aug 2025 14:34:43 +0530 Subject: [PATCH] Update IOSDriver.java Removed the html5 package as this package is no longer supported and deprecated in Selenium 4. Due to this we face compilation issue for java-client wherever it is used. For now I am submitting the PR for IOSDriver. Please check for other related files where html5 is being used and remove the imports. --- .../java/io/appium/java_client/ios/IOSDriver.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/java/io/appium/java_client/ios/IOSDriver.java b/src/main/java/io/appium/java_client/ios/IOSDriver.java index 6cc48469e..0fd5cbf20 100644 --- a/src/main/java/io/appium/java_client/ios/IOSDriver.java +++ b/src/main/java/io/appium/java_client/ios/IOSDriver.java @@ -44,7 +44,6 @@ import org.openqa.selenium.remote.DriverCommand; import org.openqa.selenium.remote.HttpCommandExecutor; import org.openqa.selenium.remote.Response; -import org.openqa.selenium.remote.html5.RemoteLocationContext; import org.openqa.selenium.remote.http.ClientConfig; import org.openqa.selenium.remote.http.HttpClient; @@ -279,20 +278,6 @@ class IOSAlert implements Alert { } - /** - * Provides the location context. - * - * @return instance of {@link RemoteLocationContext} - * @deprecated This method, {@link org.openqa.selenium.html5.LocationContext} and {@link RemoteLocationContext} - * interface are deprecated, use {@link #getLocation()} and - * {@link #setLocation(io.appium.java_client.Location)} instead. - */ - @Override - @Deprecated(forRemoval = true) - public RemoteLocationContext getLocationContext() { - return locationContext; - } - @Override public synchronized StringWebSocketClient getSyslogClient() { if (syslogClient == null) {