Skip to content

Commit

Permalink
Updating EdgeOptions to allow specifying BrowserName
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Evans <[email protected]>
  • Loading branch information
Stanley Hon authored and jimevans committed Jan 10, 2020
1 parent 5f38a0d commit 89ce1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dotnet/src/webdriver/Edge/EdgeOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public EdgeOptions() : this(true)
/// Create an EdgeOption for ChromiumEdge
/// </summary>
/// <param name="isLegacy">Whether to use Legacy Mode. If so, remove all Chromium Capabilities</param>
public EdgeOptions(bool isLegacy) : base(BrowserNameValue, "ms:edgeOptions")
/// <param name="browserName">The name of the browser to use. Defaults to "MicrosoftEdge".</param>
public EdgeOptions(bool isLegacy, string browserName = BrowserNameValue) : base(browserName, "ms:edgeOptions")
{
this.isLegacy = isLegacy;

Expand Down

0 comments on commit 89ce1c2

Please sign in to comment.