mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(python): Page.emulateMedia.media "null" value follow-up (#18555)
Follow-up of 91f7e3963dfd647ad23bdef2da7dc22279c79ca0.
This commit is contained in:
parent
ad39e7571d
commit
245260b365
@ -1208,7 +1208,7 @@ await page.EvaluateAsync("matchMedia('(prefers-color-scheme: no-preference)').ma
|
|||||||
|
|
||||||
### option: Page.emulateMedia.media
|
### option: Page.emulateMedia.media
|
||||||
* since: v1.9
|
* since: v1.9
|
||||||
* langs: js, python, java
|
* langs: js, java
|
||||||
- `media` <null|[Media]<"screen"|"print">>
|
- `media` <null|[Media]<"screen"|"print">>
|
||||||
|
|
||||||
Changes the CSS media type of the page. The only allowed values are `'screen'`, `'print'` and `null`.
|
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
|
### option: Page.emulateMedia.media
|
||||||
* since: v1.9
|
* since: v1.9
|
||||||
* langs: csharp
|
* langs: csharp, python
|
||||||
- `media` <[Media]<"screen"|"print"|"null">>
|
- `media` <[Media]<"screen"|"print"|"null">>
|
||||||
|
|
||||||
Changes the CSS media type of the page. The only allowed values are `'Screen'`, `'Print'` and `'Null'`.
|
Changes the CSS media type of the page. The only allowed values are `'Screen'`, `'Print'` and `'Null'`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user