Skip to content

Commit 646b49a

Browse files
stanleyhonshs96c
authored andcommitted
Update EdgeOptions constructor to use new ms:edgeOptions capability name (#7633)
Update EdgeOptions constructor to use new ms:edgeOptions capability instead of goog:chromeOptions.
1 parent 34341aa commit 646b49a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dotnet/src/webdriver/Edge/EdgeOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public EdgeOptions() : this(true)
7070
/// Create an EdgeOption for ChromiumEdge
7171
/// </summary>
7272
/// <param name="isLegacy">Whether to use Legacy Mode. If so, remove all Chromium Capabilities</param>
73-
public EdgeOptions(bool isLegacy) : base(BrowserNameValue)
73+
public EdgeOptions(bool isLegacy) : base(BrowserNameValue, "ms:edgeOptions")
7474
{
7575
this.isLegacy = isLegacy;
7676

java/client/src/org/openqa/selenium/edge/EdgeOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class EdgeOptions extends ChromiumOptions<EdgeOptions> {
4646
* Key used to store a set of ChromeOptions in a {@link Capabilities}
4747
* object.
4848
*/
49-
public static final String CAPABILITY = "goog:chromeOptions";
49+
public static final String CAPABILITY = "ms:edgeOptions";
5050

5151
public EdgeOptions() {
5252
super(CapabilityType.BROWSER_NAME, BrowserType.EDGE, CAPABILITY);

0 commit comments

Comments
 (0)