PlaywrightServiceNUnit Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NUnit setup fixture to initialize Playwright Service.
[NUnit.Framework.SetUpFixture]
public class PlaywrightServiceNUnit : Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightService
[<NUnit.Framework.SetUpFixture>]
type PlaywrightServiceNUnit = class
inherit PlaywrightService
Public Class PlaywrightServiceNUnit
Inherits PlaywrightService
- Inheritance
- Attributes
-
NUnit.Framework.SetUpFixtureAttribute
Constructors
PlaywrightServiceNUnit(TokenCredential) |
Initializes a new instance of the PlaywrightServiceNUnit class. |
Properties
ExposeNetwork |
Gets or sets the expose network field for remote browsers. (Inherited from PlaywrightService) |
Os |
Gets or sets the operating system for Playwright service. (Inherited from PlaywrightService) |
playwrightServiceOptions |
Creates a new instance of PlaywrightServiceOptions based on the runsettings file. |
RotationTimer |
Gets or sets the rotation timer for Playwright service. (Inherited from PlaywrightService) |
RunId |
Gets or sets the run ID. (Inherited from PlaywrightService) |
ServiceAuth |
Gets or sets the default authentication mechanism. (Inherited from PlaywrightService) |
UseCloudHostedBrowsers |
Gets or sets a flag indicating whether to use cloud-hosted browsers. (Inherited from PlaywrightService) |
Methods
Cleanup() |
Cleans up the resources used to setup entra id authentication. (Inherited from PlaywrightService) |
GetConnectOptionsAsync<T>(Nullable<OSPlatform>, String, String, CancellationToken) |
Gets the connect options for connecting to Playwright Service's cloud hosted browsers. (Inherited from PlaywrightService) |
InitializeAsync(CancellationToken) |
Initialises the resources used to setup entra id authentication. (Inherited from PlaywrightService) |
SetupAsync() |
Setup the resources utilized by Playwright service. |
Teardown() |
Tear down resources utilized by Playwright service. |
Applies to
Azure SDK for .NET