Skip to content

Commit 946d789

Browse files
committed
[java] Removing deprecated Rotatable related classes
1 parent 096b6f8 commit 946d789

9 files changed

Lines changed: 1 addition & 353 deletions

File tree

java/src/org/openqa/selenium/Rotatable.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

java/src/org/openqa/selenium/remote/AddRotatable.java

Lines changed: 0 additions & 76 deletions
This file was deleted.

java/src/org/openqa/selenium/remote/Augmenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import net.bytebuddy.dynamic.loading.ClassLoadingStrategy;
2424
import net.bytebuddy.implementation.FixedValue;
2525
import net.bytebuddy.implementation.MethodDelegation;
26+
2627
import org.openqa.selenium.Beta;
2728
import org.openqa.selenium.Capabilities;
2829
import org.openqa.selenium.HasCapabilities;
@@ -69,7 +70,6 @@ public Augmenter() {
6970
new AddApplicationCache(),
7071
new AddLocationContext(),
7172
new AddNetworkConnection(),
72-
new AddRotatable(),
7373
new AddWebStorage()
7474
).forEach(provider -> augmentations.add(createAugmentation(provider)));
7575

java/src/org/openqa/selenium/remote/CapabilityType.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ public interface CapabilityType {
7676
* @deprecated Non W3C compliant
7777
*/
7878
@Deprecated
79-
String ROTATABLE = "rotatable";
80-
/**
81-
* @deprecated Non W3C compliant
82-
*/
83-
@Deprecated
8479
String APPLICATION_NAME = "applicationName";
8580
/**
8681
* @deprecated Use {@link CapabilityType#ACCEPT_INSECURE_CERTS}

java/src/org/openqa/selenium/remote/RemoteRotatable.java

Lines changed: 0 additions & 67 deletions
This file was deleted.

java/src/org/openqa/selenium/remote/server/JsonHttpCommandHandler.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
import org.openqa.selenium.remote.server.handler.GetElementText;
7171
import org.openqa.selenium.remote.server.handler.GetLogHandler;
7272
import org.openqa.selenium.remote.server.handler.GetPageSource;
73-
import org.openqa.selenium.remote.server.handler.GetScreenOrientation;
7473
import org.openqa.selenium.remote.server.handler.GetSessionCapabilities;
7574
import org.openqa.selenium.remote.server.handler.GetSessionLogsHandler;
7675
import org.openqa.selenium.remote.server.handler.GetTagName;
@@ -82,7 +81,6 @@
8281
import org.openqa.selenium.remote.server.handler.ImplicitlyWait;
8382
import org.openqa.selenium.remote.server.handler.MaximizeWindow;
8483
import org.openqa.selenium.remote.server.handler.RefreshPage;
85-
import org.openqa.selenium.remote.server.handler.Rotate;
8684
import org.openqa.selenium.remote.server.handler.SendKeys;
8785
import org.openqa.selenium.remote.server.handler.SetAlertText;
8886
import org.openqa.selenium.remote.server.handler.SetScriptTimeout;
@@ -185,7 +183,6 @@
185183
import static org.openqa.selenium.remote.DriverCommand.GET_LOG;
186184
import static org.openqa.selenium.remote.DriverCommand.GET_NETWORK_CONNECTION;
187185
import static org.openqa.selenium.remote.DriverCommand.GET_PAGE_SOURCE;
188-
import static org.openqa.selenium.remote.DriverCommand.GET_SCREEN_ORIENTATION;
189186
import static org.openqa.selenium.remote.DriverCommand.GET_SESSION_LOGS;
190187
import static org.openqa.selenium.remote.DriverCommand.GET_SESSION_STORAGE_ITEM;
191188
import static org.openqa.selenium.remote.DriverCommand.GET_SESSION_STORAGE_KEYS;
@@ -211,7 +208,6 @@
211208
import static org.openqa.selenium.remote.DriverCommand.SET_LOCAL_STORAGE_ITEM;
212209
import static org.openqa.selenium.remote.DriverCommand.SET_LOCATION;
213210
import static org.openqa.selenium.remote.DriverCommand.SET_NETWORK_CONNECTION;
214-
import static org.openqa.selenium.remote.DriverCommand.SET_SCREEN_ORIENTATION;
215211
import static org.openqa.selenium.remote.DriverCommand.SET_SCRIPT_TIMEOUT;
216212
import static org.openqa.selenium.remote.DriverCommand.SET_SESSION_STORAGE_ITEM;
217213
import static org.openqa.selenium.remote.DriverCommand.SET_TIMEOUT;
@@ -429,9 +425,6 @@ private void setUpMappings() {
429425
addNewMapping(CLEAR_SESSION_STORAGE, ClearSessionStorage::new);
430426
addNewMapping(GET_SESSION_STORAGE_SIZE, GetSessionStorageSize::new);
431427

432-
addNewMapping(GET_SCREEN_ORIENTATION, GetScreenOrientation::new);
433-
addNewMapping(SET_SCREEN_ORIENTATION, Rotate::new);
434-
435428
addNewMapping(MOVE_TO, MouseMoveToLocation::new);
436429
addNewMapping(CLICK, ClickInSession::new);
437430
addNewMapping(DOUBLE_CLICK, DoubleClickInSession::new);

java/src/org/openqa/selenium/remote/server/handler/GetScreenOrientation.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

java/src/org/openqa/selenium/remote/server/handler/Rotate.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)