diff --git a/docs/src/api/class-browsertype.md b/docs/src/api/class-browsertype.md index a2e2aa6624..25f89d2130 100644 --- a/docs/src/api/class-browsertype.md +++ b/docs/src/api/class-browsertype.md @@ -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. diff --git a/docs/src/api/class-download.md b/docs/src/api/class-download.md index 70f4f7ce25..54196b5a6c 100644 --- a/docs/src/api/class-download.md +++ b/docs/src/api/class-download.md @@ -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. diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index ec912ccad4..e502dfe12c 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -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` > Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. Passing `null` disables reduced motion emulation. diff --git a/docs/src/api/params.md b/docs/src/api/params.md index 61ec647b65..93a41fefaf 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -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)`.