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 Null for dotnet in forced colors enum (#9051)

Anže Vodovnik6723a425448b
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index ad4d6516a7..577cd6d360 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -1006,6 +1006,7 @@ Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce
Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. Passing `null` disables reduced motion emulation.
### option: Page.emulateMedia.forcedColors
+* langs: js, python, java
- `forcedColors` <null|[ForcedColors]<"active"|"none">>
Emulates `'forced-colors'` media feature, supported values are `'active'` and `'none'`. Passing `null` disables forced colors emulation.
@@ -1014,6 +1015,10 @@ Emulates `'forced-colors'` media feature, supported values are `'active'` and `'
It's not supported in WebKit, see [here](https://bugs.webkit.org/show_bug.cgi?id=225281) in their issue tracker.
:::
+### option: Page.emulateMedia.forcedColors
+* langs: csharp
+- `forcedColors` <[ForcedColors]<"active"|"none"|"null">>
+
## async method: Page.evalOnSelector
* langs:
- alias-python: eval_on_selector