Compartilhar via


PlaywrightService Constructors

Definition

Overloads

PlaywrightService(PlaywrightServiceOptions, TokenCredential, IFrameworkLogger)

Initializes a new instance of the PlaywrightService class.

PlaywrightService(Nullable<OSPlatform>, String, String, String, Nullable<Boolean>, TokenCredential, IFrameworkLogger)

Initializes a new instance of the PlaywrightService class.

PlaywrightService(PlaywrightServiceOptions, TokenCredential, IFrameworkLogger)

Source:
PlaywrightService.cs

Initializes a new instance of the PlaywrightService class.

public PlaywrightService (Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions playwrightServiceOptions, Azure.Core.TokenCredential? credential = default, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger? frameworkLogger = default);
new Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService : Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions * Azure.Core.TokenCredential * Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger -> Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService
Public Sub New (playwrightServiceOptions As PlaywrightServiceOptions, Optional credential As TokenCredential = Nothing, Optional frameworkLogger As IFrameworkLogger = Nothing)

Parameters

playwrightServiceOptions
PlaywrightServiceOptions
credential
TokenCredential
frameworkLogger
IFrameworkLogger

Applies to

PlaywrightService(Nullable<OSPlatform>, String, String, String, Nullable<Boolean>, TokenCredential, IFrameworkLogger)

Source:
PlaywrightService.cs

Initializes a new instance of the PlaywrightService class.

public PlaywrightService (System.Runtime.InteropServices.OSPlatform? os = default, string? runId = default, string? exposeNetwork = default, string? serviceAuth = default, bool? useCloudHostedBrowsers = default, Azure.Core.TokenCredential? credential = default, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger? frameworkLogger = default);
new Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService : Nullable<System.Runtime.InteropServices.OSPlatform> * string * string * string * Nullable<bool> * Azure.Core.TokenCredential * Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.Interface.IFrameworkLogger -> Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService
Public Sub New (Optional os As Nullable(Of OSPlatform) = Nothing, Optional runId As String = Nothing, Optional exposeNetwork As String = Nothing, Optional serviceAuth As String = Nothing, Optional useCloudHostedBrowsers As Nullable(Of Boolean) = Nothing, Optional credential As TokenCredential = Nothing, Optional frameworkLogger As IFrameworkLogger = Nothing)

Parameters

os
Nullable<OSPlatform>

The operating system.

runId
String

The run ID.

exposeNetwork
String

The network exposure.

serviceAuth
String

The service authentication mechanism.

useCloudHostedBrowsers
Nullable<Boolean>

Whether to use cloud-hosted browsers.

credential
TokenCredential

The token credential.

frameworkLogger
IFrameworkLogger

Logger

Applies to