From d0308d1924c334024d58235f89cc4db2179666c6 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 20 Feb 2023 18:13:01 +0100 Subject: [PATCH] docs: fix double code snippets (#21027) Fixes https://github.com/microsoft/playwright/pull/20908 --- docs/src/browsers.md | 16 ---------------- docs/src/release-notes-js.md | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/docs/src/browsers.md b/docs/src/browsers.md index 15d51a3568..d920c47c7d 100644 --- a/docs/src/browsers.md +++ b/docs/src/browsers.md @@ -103,34 +103,18 @@ them using Playwright command line tool: npx playwright install msedge ``` -```powershell lang=js -npx playwright install msedge -``` - ```bash lang=python playwright install msedge ``` -```powershell lang=python -playwright install msedge -``` - ```bash lang=csharp pwsh bin/Debug/netX/playwright.ps1 install msedge ``` -```powershell lang=csharp -pwsh bin/Debug/netX/playwright.ps1 install msedge -``` - ```batch lang=java mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install msedge" ``` -```powershell lang=java -mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install msedge" -``` - Run with `--help` option to see full list of the browsers that can be installed this way. :::warning diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 19995e4681..6265eb7396 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -69,7 +69,7 @@ import LiteYouTube from '@site/src/components/LiteYouTube'; - Official [docker images](./docker.md) now include Node 18 instead of Node 16. -## ⚠️ Breaking change in component tests +### ⚠️ Breaking change in component tests Note: **component tests only**, does not affect end-to-end tests.