From b2bda9fce2a7e50f6c51e66321802a574bbb2541 Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Fri, 5 Jul 2024 17:37:00 +0200 Subject: [PATCH] docs: update vs code projects explanation (#31571) --- docs/src/browsers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/browsers.md b/docs/src/browsers.md index c29acb9f7e..391e0aba20 100644 --- a/docs/src/browsers.md +++ b/docs/src/browsers.md @@ -230,13 +230,13 @@ Running 1 test using 1 worker ✓ [firefox] › example.spec.ts:3:1 › basic test (2s) ``` -The VS Code test runner runs your tests on the default browser of Chrome. To run on other/multiple browsers click the play button's dropdown from the testing sidebar and choose another profile or modify the default profile by clicking **Select Default Profile** and select the browsers you wish to run your tests on. +With the VS Code extension you can run your tests on different browsers by checking the checkbox next to the browser name in the Playwright sidebar. These names are defined in your Playwright config file under the projects section. The default config when installing Playwright gives you 3 projects, Chromium, Firefox and WebKit. The first project is selected by default. -selecting browsers +![Projects section in VS Code extension](https://github.com/microsoft/playwright/assets/13063165/58fedea6-a2b9-4942-b2c7-2f3d482210cf) -Choose a specific profile, various profiles or all profiles to run tests on. +To run tests on multiple projects(browsers), select each project by checking the checkboxes next to the project name. -choosing default profiles +![Selecting projects to run tests on](https://github.com/microsoft/playwright/assets/13063165/6dc86ef4-6097-481c-9cab-b6e053ec7ea6) ### Run tests on different browsers * langs: python