Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/DevTools/DevToolsDomains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public abstract class DevToolsDomains
/// Initializes the supplied DevTools session's domains for the specified browser version.
/// </summary>
/// <param name="protocolVersion">The version of the DevTools Protocol to use.</param>
/// <param name="session">The <see cref="DevToolsSession"/> for which to initialiize the domains.</param>
/// <param name="session">The <see cref="DevToolsSession"/> for which to initialize the domains.</param>
/// <returns>The <see cref="DevToolsDomains"/> object containing the version-specific domains.</returns>
/// <exception cref="ArgumentException">If <paramref name="protocolVersion"/> is negative.</exception>
/// <exception cref="WebDriverException">If the desired protocol version is not supported.</exception>
Expand All @@ -95,7 +95,7 @@ public static DevToolsDomains InitializeDomains(int protocolVersion, DevToolsSes
/// Initializes the supplied DevTools session's domains for the specified browser version within the specified number of versions.
/// </summary>
/// <param name="protocolVersion">The version of the DevTools Protocol to use.</param>
/// <param name="session">The <see cref="DevToolsSession"/> for which to initialiize the domains.</param>
/// <param name="session">The <see cref="DevToolsSession"/> for which to initialize the domains.</param>
/// <param name="versionRange">The range of versions within which to match the provided version number. Defaults to 5 versions.</param>
/// <returns>The <see cref="DevToolsDomains"/> object containing the version-specific domains.</returns>
/// <exception cref="ArgumentException">If <paramref name="protocolVersion"/> is negative.</exception>
Expand Down
9 changes: 7 additions & 2 deletions dotnet/src/webdriver/DevTools/v130/V130Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@
// under the License.
// </copyright>

using System;

#nullable enable

namespace OpenQA.Selenium.DevTools.V130
{
/// <summary>
/// Class containing the domain implementation for version 130 of the DevTools Protocol.
/// </summary>
public class V130Domains : DevToolsDomains
{
private DevToolsSessionDomains domains;
private readonly DevToolsSessionDomains domains;

/// <summary>
/// Initializes a new instance of the V130Domains class.
/// </summary>
/// <param name="session">The DevToolsSession to use with this set of domains.</param>
/// <exception cref="ArgumentNullException">If <paramref name="session"/> is <see langword="null"/>.</exception>
public V130Domains(DevToolsSession session)
{
this.domains = new DevToolsSessionDomains(session);
this.domains = new DevToolsSessionDomains(session ?? throw new ArgumentNullException(nameof(session)));
}

/// <summary>
Expand Down
9 changes: 7 additions & 2 deletions dotnet/src/webdriver/DevTools/v131/V131Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@
// under the License.
// </copyright>

using System;

#nullable enable

namespace OpenQA.Selenium.DevTools.V131
{
/// <summary>
/// Class containing the domain implementation for version 131 of the DevTools Protocol.
/// </summary>
public class V131Domains : DevToolsDomains
{
private DevToolsSessionDomains domains;
private readonly DevToolsSessionDomains domains;

/// <summary>
/// Initializes a new instance of the V131Domains class.
/// </summary>
/// <param name="session">The DevToolsSession to use with this set of domains.</param>
/// <exception cref="ArgumentNullException">If <paramref name="session"/> is <see langword="null"/>.</exception>
public V131Domains(DevToolsSession session)
{
this.domains = new DevToolsSessionDomains(session);
this.domains = new DevToolsSessionDomains(session ?? throw new ArgumentNullException(nameof(session)));
}

/// <summary>
Expand Down
9 changes: 7 additions & 2 deletions dotnet/src/webdriver/DevTools/v132/V132Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@
// under the License.
// </copyright>

using System;

#nullable enable

namespace OpenQA.Selenium.DevTools.V132
{
/// <summary>
/// Class containing the domain implementation for version 132 of the DevTools Protocol.
/// </summary>
public class V132Domains : DevToolsDomains
{
private DevToolsSessionDomains domains;
private readonly DevToolsSessionDomains domains;

/// <summary>
/// Initializes a new instance of the V132Domains class.
/// </summary>
/// <param name="session">The DevToolsSession to use with this set of domains.</param>
/// <exception cref="ArgumentNullException">If <paramref name="session"/> is <see langword="null"/>.</exception>
public V132Domains(DevToolsSession session)
{
this.domains = new DevToolsSessionDomains(session);
this.domains = new DevToolsSessionDomains(session ?? throw new ArgumentNullException(nameof(session)));
}

/// <summary>
Expand Down
9 changes: 7 additions & 2 deletions dotnet/src/webdriver/DevTools/v85/V85Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@
// under the License.
// </copyright>

using System;

#nullable enable

namespace OpenQA.Selenium.DevTools.V85
{
/// <summary>
/// Class containing the domain implementation for version 86 of the DevTools Protocol.
/// </summary>
public class V85Domains : DevToolsDomains
{
private DevToolsSessionDomains domains;
private readonly DevToolsSessionDomains domains;

/// <summary>
/// Initializes a new instance of the V85Domains class.
/// </summary>
/// <param name="session">The DevToolsSession to use with this set of domains.</param>
/// <exception cref="ArgumentNullException">If <paramref name="session"/> is <see langword="null"/>.</exception>
public V85Domains(DevToolsSession session)
{
this.domains = new DevToolsSessionDomains(session);
this.domains = new DevToolsSessionDomains(session ?? throw new ArgumentNullException(nameof(session)));
}

/// <summary>
Expand Down
Loading