Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: csharp apostrophes (#17202)

Ruaan Kruger9c996f6cbbf8
diff --git a/docs/src/cli.md b/docs/src/cli.md
index 7734145d62..d4b1aa8d02 100644
--- a/docs/src/cli.md
+++ b/docs/src/cli.md
@@ -321,7 +321,7 @@ var browser = await chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless
// Setup context however you like.
var context = await browser.NewContextAsync(); // Pass any options
-await context.RouteAsync('**/*', route => route.ContinueAsync());
+await context.RouteAsync("**/*", route => route.ContinueAsync());
// Pause the page, and start recording manually.
var page = await context.NewPageAsync();
diff --git a/docs/src/codegen.md b/docs/src/codegen.md
index 7f374dff38..8a63639231 100644
--- a/docs/src/codegen.md
+++ b/docs/src/codegen.md
@@ -121,9 +121,9 @@ pwsh bin/Debug/netX/playwright.ps1 codegen --timezone="Europe/Rome" --geolocatio
## Preserve authenticated state
-Run `codegen` with `--save-storage` to save [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies) and [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) at the end of the session. This is useful to separately record an authentication step and reuse it later in the tests.
+Run `codegen` with `--save-storage` to save [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies) and [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) at the end of the session. This is useful to separately record an authentication step and reuse it later in the tests.
-After performing authentication and closing the browser, `auth.json` will contain the storage state.
+After performing authentication and closing the browser, `auth.json` will contain the storage state.
```bash js
npx playwright codegen --save-storage=auth.json
@@ -269,7 +269,7 @@ var browser = await chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless
// Setup context however you like.
var context = await browser.NewContextAsync(); // Pass any options
-await context.RouteAsync('**/*', route => route.ContinueAsync());
+await context.RouteAsync("**/*", route => route.ContinueAsync());
// Pause the page, and start recording manually.
var page = await context.NewPageAsync();