Edit

Share via


Optimize regional latency for a workspace in Playwright Workspaces Preview

Learn how to minimize the network latency between the client machine and the remote browsers for a Playwright Workspaces Preview workspace.

Playwright Workspaces lets you run your Playwright tests on hosted browsers in the Azure region that's nearest to your client machine. The service collects the test results in the Azure region of the remote browsers, and then transfers the results to the workspace region.

By default, when you create a new workspace, the service runs tests in an Azure region closest to the client machine. When you disable this setting on the workspace, the service uses remote browsers in the Azure region of the workspace.

Important

Playwright Workspaces is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews.

Configure regional settings for a workspace

You can configure the regional settings for your workspace in the Azure portal.

  1. Sign in to the Azure portal with your Azure account and navigate to your workspace.

  2. In the Settings section, select Region Management.

  3. In the Region Management page, choose the corresponding region selection option.

    By default, the service uses remote browsers in the Azure region that's closest to the client machine to minimize latency.

Screenshot of the Region Management settings page.