Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Playwright File Test Runner by AGSNew to Visual Studio Code? Get it now.
Playwright File Test Runner by AGS

Playwright File Test Runner by AGS

Andy Gleed-Sosnowski

|
23 installs
| (1) | Free
Run Playwright tests and Codegen from context menus or commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Playwright File Test Runner

A simple Visual Studio Code extension that allows you to run a test by right-clicking one or more files in the file explorer view or by right-clicking an opened files tab, and then click 'Run Playwright Test' or 'Run Playwright Test with Repeats...'

File context menu

Table of contents

  1. Install
  2. Settings

Install

Search the VS Code Marketplace for Playwright File Test Runner by AGS.

VS Code Marketplace

Or Ctrl+P and either copy/paste or type the following command, and press enter:

ext install playwright-file-test-runner

Settings

This extension has the following settings:

VS Code Settings

  • playwright-file-test-runner.configFile: The Playwright config file to use (e.g., playwright.config.ts). Suggestions are provided when editing settings.json.

  • playwright-file-test-runner.project: The Playwright project to run (e.g., chromium, firefox, webkit). Leave empty to run all projects specified in the config for that test file.

  • playwright-file-test-runner.repeatEach: Default number of times to repeat each test when prompted by 'Run Playwright Test with Repeats...' command. This value pre-fills the prompt and is updated by user input.

  • playwright-file-test-runner.codegen: Ctrl+Shift+P command - URL for Playwright Codegen (e.g., https://playwright.dev). If empty, Codegen starts without a URL.
    Codegen command

Release Notes

1.1.1

Added ability to run multiple selected tests from context menu.

1.1.0

Initial release of Playwright File Test Runner

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft