Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions dotnet/src/webdriver/Chromium/ChromiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
using OpenQA.Selenium.DevTools;
using OpenQA.Selenium.Remote;

#pragma warning disable CS0618 // Obsolete members are used internally

namespace OpenQA.Selenium.Chromium;

/// <summary>
Expand All @@ -32,76 +34,92 @@ public class ChromiumDriver : WebDriver, ISupportsLogs, IDevTools
/// <summary>
/// Accept untrusted SSL Certificates
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
// When make it protected don't forget to remove pragma warning disable CS0618 and the Obsolete attribute from this field.
public static readonly bool AcceptUntrustedCertificates = true;

/// <summary>
/// Command for executing a Chrome DevTools Protocol command in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string ExecuteCdp = "executeCdpCommand";

/// <summary>
/// Command for getting cast sinks in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string GetCastSinksCommand = "getCastSinks";

/// <summary>
/// Command for selecting a cast sink in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string SelectCastSinkCommand = "selectCastSink";

/// <summary>
/// Command for starting cast tab mirroring in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string StartCastTabMirroringCommand = "startCastTabMirroring";

/// <summary>
/// Command for starting cast desktop mirroring in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string StartCastDesktopMirroringCommand = "startCastDesktopMirroring";

/// <summary>
/// Command for getting a cast issued message in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string GetCastIssueMessageCommand = "getCastIssueMessage";

/// <summary>
/// Command for stopping casting in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string StopCastingCommand = "stopCasting";

/// <summary>
/// Command for getting the simulated network conditions in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string GetNetworkConditionsCommand = "getNetworkConditions";

/// <summary>
/// Command for setting the simulated network conditions in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string SetNetworkConditionsCommand = "setNetworkConditions";

/// <summary>
/// Command for deleting the simulated network conditions in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string DeleteNetworkConditionsCommand = "deleteNetworkConditions";

/// <summary>
/// Command for executing a Chrome DevTools Protocol command in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string SendChromeCommand = "sendChromeCommand";

/// <summary>
/// Command for executing a Chrome DevTools Protocol command that returns a result in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string SendChromeCommandWithResult = "sendChromeCommandWithResult";

/// <summary>
/// Command for launching an app in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string LaunchAppCommand = "launchAppCommand";

/// <summary>
/// Command for setting permissions in a driver for a Chromium-based browser.
/// </summary>
[Obsolete("This field will be made protected in v4.44.")]
public static readonly string SetPermissionCommand = "setPermission";

private readonly string optionsCapabilityName;
Expand Down
Loading