Skip to content

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

docs(dotnet): add devices property (#6530)

Darío Kondratiuk6023c6746a66
diff --git a/docs/src/api/class-playwright.md b/docs/src/api/class-playwright.md
index e0c6984606..ec978847a8 100644
--- a/docs/src/api/class-playwright.md
+++ b/docs/src/api/class-playwright.md
@@ -129,6 +129,12 @@ with sync_playwright() as playwright:
run(playwright)
```
+## property: Playwright.devices
+* langs: csharp
+- type: <[IReadOnlyDictionary<string, BrowserContextOptions>]>
+
+Returns a dictionary of devices to be used with [`method: Browser.newContext`] or [`method: Browser.newPage`].
+
## property: Playwright.errors
* langs: js
- type: <[Object]>