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

Follow-up of 91f7e3963dfd647ad23bdef2da7dc22279c79ca0.
This commit is contained in:
Max Schmitt 2022-11-03 17:50:32 -07:00 committed by GitHub
parent ad39e7571d
commit 245260b365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'`.