Skip to content

Commit

Permalink
[dotnet] remove deprecated ExecuteChromeCommand methods
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jun 23, 2022
1 parent 30ab8b3 commit 1556e86
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions dotnet/src/webdriver/Chromium/ChromiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,29 +244,6 @@ public object ExecuteCdpCommand(string commandName, Dictionary<string, object> c
return response.Value;
}

/// <summary>
/// Executes a custom Chrome command.
/// </summary>
/// <param name="commandName">Name of the command to execute.</param>
/// <param name="commandParameters">Parameters of the command to execute.</param>
[Obsolete("ExecuteChromeCommand is deprecated in favor of ExecuteCdpCommand.")]
public void ExecuteChromeCommand(string commandName, Dictionary<string, object> commandParameters)
{
ExecuteCdpCommand(commandName, commandParameters);
}

/// <summary>
/// Executes a custom Chrome command.
/// </summary>
/// <param name="commandName">Name of the command to execute.</param>
/// <param name="commandParameters">Parameters of the command to execute.</param>
/// <returns>An object representing the result of the command.</returns>
[Obsolete("ExecuteChromeCommandWithResult is deprecated in favor of ExecuteCdpCommand.")]
public object ExecuteChromeCommandWithResult(string commandName, Dictionary<string, object> commandParameters)
{
return ExecuteCdpCommand(commandName, commandParameters);
}

/// <summary>
/// Creates a session to communicate with a browser using the Chromium Developer Tools debugging protocol.
/// </summary>
Expand Down

0 comments on commit 1556e86

Please sign in to comment.