Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: small tweaks (#6681)
Dmitry Gozman8490eb3c896f
diff --git a/docs/src/cli.md b/docs/src/cli.mdindex dd8b610ff5..8953d33f8a 100644--- a/docs/src/cli.md+++ b/docs/src/cli.md@@ -178,7 +178,7 @@ class Example{using var playwright = await Playwright.CreateAsync();var chromium = playwright.Chromium;- // Can be "msedge", "chrome-beta", "msedge-beta", "msedge-dev", etc.+ // Make sure to run headed.var browser = await chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless = false });// Setup context however you like.diff --git a/docs/src/debug.md b/docs/src/debug.mdindex 69e725f06a..e9253b6449 100644--- a/docs/src/debug.md+++ b/docs/src/debug.md@@ -65,31 +65,33 @@ a Playwright script in headed mode. Developer tools help to:Using a [`method: Page.pause`] method is an easy way to pause the Playwright script executionand inspect the page in Developer tools. It will also open [Playwright Inspector](./inspector.md) to help with debugging.-:::note-**For WebKit**: launching WebKit Inspector during the execution will- prevent the Playwright script from executing any further.-:::--:::note**For Chromium**: you can also open developer tools through a launch option.```jsawait chromium.launch({ devtools: true });```+```javachromium.launch(new BrowserType.LaunchOptions().setDevtools(true));```+```python asyncawait chromium.launch(devtools=True)```+```python syncchromium.launch(devtools=True)```+```csharpawait using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions{Devtools: true});```++:::note+**For WebKit**: launching WebKit Inspector during the execution will+ prevent the Playwright script from executing any further.:::## Run in Debug Mode