From 067a5b290083adcb297231ed360cec27ce2e4155 Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:43:54 +0200 Subject: [PATCH] docs: fix screencast links (#11106) --- docs/api/puppeteer.page.screencast.md | 4 ++-- packages/puppeteer-core/src/api/Page.ts | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/api/puppeteer.page.screencast.md b/docs/api/puppeteer.page.screencast.md index c87b30ba7a8..356512a456a 100644 --- a/docs/api/puppeteer.page.screencast.md +++ b/docs/api/puppeteer.page.screencast.md @@ -26,9 +26,9 @@ Promise<[ScreenRecorder](./puppeteer.screenrecorder.md)> ## Remarks -All recordings will be \[WebM\](https://www.webmproject.org/) format using the \[VP9\](https://www.webmproject.org/vp9/) video codec. The FPS is 30. +All recordings will be [WebM](https://www.webmproject.org/) format using the [VP9](https://www.webmproject.org/vp9/) video codec. The FPS is 30. -You must have \[ffmpeg\](https://ffmpeg.org/) installed on your system. +You must have [ffmpeg](https://ffmpeg.org/) installed on your system. ## Example diff --git a/packages/puppeteer-core/src/api/Page.ts b/packages/puppeteer-core/src/api/Page.ts index ea94e169ce3..be796c59754 100644 --- a/packages/puppeteer-core/src/api/Page.ts +++ b/packages/puppeteer-core/src/api/Page.ts @@ -2317,12 +2317,15 @@ export abstract class Page extends EventEmitter { /** * Captures a screencast of this {@link Page | page}. * - * @remarks All recordings will be [WebM](https://www.webmproject.org/) format using - * the [VP9](https://www.webmproject.org/vp9/) video codec. The FPS is 30. + * @remarks * - * You must have [ffmpeg](https://ffmpeg.org/) installed on your system. + * All recordings will be {@link https://www.webmproject.org/ | WebM} format using + * the {@link https://www.webmproject.org/vp9/ | VP9} video codec. The FPS is 30. * - * @example Recording a {@link Page | page}: + * You must have {@link https://ffmpeg.org/ | ffmpeg} installed on your system. + * + * @example + * Recording a {@link Page | page}: * * ``` * import puppeteer from 'puppeteer';