Skip to content

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

docs(python): Page.emulateMedia.media "null" value follow-up (#18555)

Max Schmitt245260b3656c
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index a0b51d037b..6d432afc39 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -1208,7 +1208,7 @@ await page.EvaluateAsync("matchMedia('(prefers-color-scheme: no-preference)').ma
### option: Page.emulateMedia.media
* since: v1.9
-* langs: js, python, java
+* langs: js, java
- `media` <null|[Media]<"screen"|"print">>
Changes the CSS media type of the page. The only allowed values are `'screen'`, `'print'` and `null`.
@@ -1216,7 +1216,7 @@ Passing `null` disables CSS media emulation.
### option: Page.emulateMedia.media
* since: v1.9
-* langs: csharp
+* langs: csharp, python
- `media` <[Media]<"screen"|"print"|"null">>
Changes the CSS media type of the page. The only allowed values are `'Screen'`, `'Print'` and `'Null'`.