This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Important
Microsoft Playwright Testing will be retired on March 8, 2026. To continue running your Playwright tests,create a newPlaywright Workspace inAzure App Testing, now generally available.Learn how to migrate.
In this article, you create, view, and delete Microsoft Playwright Testing Preview workspaces. You can access and manage a workspace in the Azure portal or in the Playwright portal.
The following table lists the differences in functionality, based on how you access Microsoft Playwright Testing:
| Functionality | Azure portal | Playwright portal | Learn more |
|---|---|---|---|
| Create a workspace | Yes | Yes | Quickstart: run Playwright test in the cloud |
| View the list of workspaces | Yes | Yes | View all workspaces |
| View the workspace activity log | No | Yes | Display activity log |
| Delete a workspace | Yes | Yes | Delete a workspace |
| Configure region affinity | Yes | No | Configure region affinity |
| Grant or revoke access to a workspace | Yes | No | Manage workspace access |
Important
Microsoft Playwright Testing 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 theSupplemental Terms of Use for Microsoft Azure Previews.
To get started with running your Playwright tests on cloud browsers, you first create a Microsoft Playwright Testing workspace. You can create a workspace in either the Azure portal or the Playwright portal.
When you create a workspace in the Playwright portal, the service creates a new resource group and a Microsoft Playwright Testing Azure resource in your Azure subscription. The name of the new resource group is based on the workspace name.
Sign in to thePlaywright portal with your Azure account.
If you already have a workspace, select an existing workspace, and move to the next step.
Tip
If you have multiple workspaces, you can switch to another workspace by selecting the workspace name at the top of the page, and then selectManage all workspaces.
If you don't have a workspace yet, select+ New workspace, and then provide the following information:
| Field | Description |
|---|---|
| Workspace name | Enter a unique name to identify your workspace. The name can only consist of alphanumerical characters, and have a length between 3 and 64 characters. |
| Azure subscription | Select the Azure subscription that you want to use for this Microsoft Playwright Testing workspace. |
| Region | Select a geographic location to host your workspace. This is the location where the test run data is stored for the workspace. |
SelectCreate workspace to create the workspace in your subscription.
During the workspace creation, a new resource group and a Microsoft Playwright Testing Azure resource are created in your Azure subscription.
To get the list of Playwright workspaces that you have access to:
Sign in to thePlaywright portal with your Azure account.
Select your current workspace in the top of the screen, and then selectManage all workspaces.
On theWorkspaces page, you can now see all the workspaces that you have access to.
The page shows a card for each of the workspaces in the currently selected Azure subscription. You can switch to another subscription by selecting a subscription from the list.
Tip
Notice that the workspace card indicates if the workspace is included in a free trial.
Select a workspace to view the workspace details and activity log.
You can view the list of test runs for the workspace in the Playwright portal. Microsoft Playwright Testing only stores test run metadata, and doesn't store the test code, test results, trace files, or other artifacts.
The workspace activity log lists for each test run the following details:
To view the list of test runs in the Playwright portal:
Sign in to thePlaywright portal with your Azure account.
Optionally, switch to another workspace by selecting your current workspace in the top of the screen, and then selectManage all workspaces.
On the workspace home page, you can view the workspace activity log.
To delete a Playwright workspace:
Sign in to thePlaywright portal with your Azure account.
Select your current workspace in the top of the screen, and then selectManage all workspaces.
On theWorkspaces page, select the ellipsis (...) next to your workspace, and then selectDelete workspace.
On theDelete Workspace page, selectDelete to confirm the deletion of the workspace.
Warning
Deleting a workspace is an irreversible action. The workspace and the activity log can't be recovered.
Get started withrunning Playwright tests at scale
Learn more about theMicrosoft Playwright Testing resource limits
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?