microsoft / microsoft/playwright-dotnet

[Feature] Clarify NetX folder in the error message

Open
#2,120 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-collecting-feedback
Dominant language
C#
Stars
3k
Forks
304
Avg merge
20h 47m
Merged PRs (30d)
6

Description

When I run .Net Playwright first time by following https://playwright.dev/dotnet/docs/intro I've got

Host system is missing a few dependencies to run browsers. ║
Please install them with the following command: ║

pwsh bin\Debug\netX\playwright.ps1 install-deps ║

<3 Playwright Team

netX was confusing. You should either determine which version is available and replace it in the message, or add clarification that user must change netX with existing folder, e.g. net6.0.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the dependency-installation error shown when following the .NET Playwright introduction and inspect how the command pwsh bin\Debug\netX\playwright.ps1 install-deps is produced. Done means the message either uses the available target framework folder or clearly tells users how to replace netX, with the resulting command remaining usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, developer-experience
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.