[java] Removing deprecated getPlatform and getVersion
[skip ci]
@@ -34,14 +34,6 @@ default String getBrowserName() {
return String.valueOf(Optional.ofNullable(getCapability("browserName")).orElse(""));
}
- /**
- * @deprecated Use {@link #getPlatformName()}
- */
- @Deprecated
- default Platform getPlatform() {
- return getPlatformName();
- }
-
default Platform getPlatformName() {
return Stream.of("platform", "platformName")
.map(this::getCapability)
@@ -62,14 +54,6 @@ default Platform getPlatformName() {
.orElse(null);
}
- /**
- * @deprecated Use {@link #getBrowserVersion()}
- */
- @Deprecated
- default String getVersion() {
- return getBrowserVersion();
- }
-
default String getBrowserVersion() {
return String.valueOf(Optional.ofNullable(getCapability("browserVersion")).orElse(
Optional.ofNullable(getCapability("version")).orElse("")));
