你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PlaywrightServiceBrowserClient Class

Definition

Sets up and manages the Playwright Workspaces browser client.

public class PlaywrightServiceBrowserClient : IDisposable
type PlaywrightServiceBrowserClient = class
    interface IDisposable
Public Class PlaywrightServiceBrowserClient
Implements IDisposable
Inheritance
PlaywrightServiceBrowserClient
Derived
Implements

Constructors

Name Description
PlaywrightServiceBrowserClient()

Initializes a new instance of the PlaywrightServiceBrowserClient class.

PlaywrightServiceBrowserClient(PlaywrightServiceBrowserClientOptions)

Initializes a new instance of the PlaywrightServiceBrowserClient class.

PlaywrightServiceBrowserClient(TokenCredential, PlaywrightServiceBrowserClientOptions)

Initializes a new instance of the PlaywrightServiceBrowserClient class.

PlaywrightServiceBrowserClient(TokenCredential)

Initializes a new instance of the PlaywrightServiceBrowserClient class.

Methods

Name Description
Dispose()

Cleans up the resources used to setup entra id authentication.

DisposeAsync()

Cleans up the resources used to setup entra id authentication.

GetConnectOptions<T>(Nullable<OSPlatform>, String, String, CancellationToken)

Gets the connect options for connecting to Playwright Workspaces's cloud hosted browsers.

GetConnectOptionsAsync<T>(Nullable<OSPlatform>, String, String, CancellationToken)

Gets the connect options for connecting to Playwright Workspaces's cloud hosted browsers.

Initialize(CancellationToken)

Initialises the resources used to setup entra id authentication.

InitializeAsync(CancellationToken)

Initialises the resources used to setup entra id authentication.

Applies to