api(dotnet): hide reducedMotion from csharp until C# 1.11 release (#6705)

This commit is contained in:
Pavel Feldman 2021-05-22 07:58:02 -07:00 committed by GitHub
parent f9357531f5
commit 17553e253d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -85,7 +85,7 @@ class BrowserTypeExamples
```
## async method: BrowserType.connect
* langs: js, java, python
* langs: js, python, java
- returns: <[Browser]>
This methods attaches Playwright to an existing browser instance.

View file

@ -78,7 +78,7 @@ Deletes the downloaded file. Will wait for the download to finish if necessary.
Returns download error if any. Will wait for the download to finish if necessary.
## method: Download.page
* langs: js, java, python
* langs: js, python, java
- returns: <[Page]>
Get the page that the download belongs to.

View file

@ -971,6 +971,7 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
`null` disables color scheme emulation.
### option: Page.emulateMedia.reducedMotion
* langs: js, python, java
- `reducedMotion` <null|[ReducedMotion]<"reduce"|"no-preference">>
Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. Passing `null` disables reduced motion emulation.

View file

@ -367,6 +367,7 @@ Emulates `'prefers-colors-scheme'` media feature, supported values are `'light'`
[`method: Page.emulateMedia`] for more details. Defaults to `'light'`.
## context-option-reducedMotion
* langs: js, python, java
- `reducedMotion` <[ReducedMotion]<"reduce"|"no-preference">>
Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. See [`method: Page.emulateMedia`] for more details. Defaults
@ -486,7 +487,7 @@ is considered matching if all specified properties match.
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
## wait-for-event-event
* langs: js, java, python
* langs: js, python, java
- `event` <[string]>
Event name, same one typically passed into `*.on(event)`.