From ed5dff72545cc1e1f485843e2cfd33687b9ba268 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Tue, 12 Oct 2021 09:33:39 +0200 Subject: [PATCH] [java] Deprecating USE_CHROMIUM so we can remove it after 4.0 [skip ci] --- java/src/org/openqa/selenium/edge/EdgeOptions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/src/org/openqa/selenium/edge/EdgeOptions.java b/java/src/org/openqa/selenium/edge/EdgeOptions.java index c3bae35a96a2e..98482aaea3ecf 100644 --- a/java/src/org/openqa/selenium/edge/EdgeOptions.java +++ b/java/src/org/openqa/selenium/edge/EdgeOptions.java @@ -16,12 +16,12 @@ // under the License. package org.openqa.selenium.edge; +import static org.openqa.selenium.remote.Browser.EDGE; + import org.openqa.selenium.Capabilities; import org.openqa.selenium.chromium.ChromiumOptions; import org.openqa.selenium.remote.CapabilityType; -import static org.openqa.selenium.remote.Browser.EDGE; - /** * Class to manage options specific to {@link EdgeDriver}. * @@ -45,6 +45,8 @@ public class EdgeOptions extends ChromiumOptions { /** * Key used to indicate whether to use an Edge Chromium or Edge Legacy driver. + * + * @deprecated This will be removed as Chromium based Edge is the only supported one. */ public static final String USE_CHROMIUM = "ms:edgeChromium";