docs(dotnet): fix intro with old PowerShell version (#11434)
This commit is contained in:
parent
60e7caf91c
commit
4a1f945a3b
|
|
@ -21,6 +21,9 @@ dotnet add package Microsoft.Playwright
|
||||||
dotnet build
|
dotnet build
|
||||||
# Install required browsers
|
# Install required browsers
|
||||||
pwsh bin\Debug\netX\playwright.ps1 install
|
pwsh bin\Debug\netX\playwright.ps1 install
|
||||||
|
|
||||||
|
# If the pwsh command does not work (throws TypeNotFound), make sure to use an up-to-date version of PowerShell.
|
||||||
|
dotnet tool update --global PowerShell
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a `Program.cs` that will navigate to `https://playwright.dev/dotnet` and take a screenshot in Chromium.
|
Create a `Program.cs` that will navigate to `https://playwright.dev/dotnet` and take a screenshot in Chromium.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue