diff --git a/dotnet/docs/api/class-apirequest.mdx b/dotnet/docs/api/class-apirequest.mdx index 0bd48c5e86..1dfa9847cd 100644 --- a/dotnet/docs/api/class-apirequest.mdx +++ b/dotnet/docs/api/class-apirequest.mdx @@ -34,7 +34,7 @@ await ApiRequest.NewContextAsync(options); * baseURL: `http://localhost:3000` and sending request to `/bar.html` results in `http://localhost:3000/bar.html` * baseURL: `http://localhost:3000/foo/` and sending request to `./bar.html` results in `http://localhost:3000/foo/bar.html` * baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in `http://localhost:3000/bar.html` - - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: 1.46# + - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: v1.46# - `Origin` [string] Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port. diff --git a/dotnet/docs/api/class-browser.mdx b/dotnet/docs/api/class-browser.mdx index 0fd75b1dd4..0f2e81aaf1 100644 --- a/dotnet/docs/api/class-browser.mdx +++ b/dotnet/docs/api/class-browser.mdx @@ -209,7 +209,7 @@ await browser.CloseAsync(); - `BypassCSP` [bool]? *(optional)*# Toggles bypassing page's Content-Security-Policy. Defaults to `false`. - - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: 1.46# + - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: v1.46# - `Origin` [string] Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port. @@ -301,7 +301,7 @@ await browser.CloseAsync(); Whether to ignore HTTPS errors when sending network requests. Defaults to `false`. - `IsMobile` [bool]? *(optional)*# - Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](../emulation.mdx#ismobile). + Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false`. Learn more about [mobile emulation](../emulation.mdx#ismobile). - `JavaScriptEnabled` [bool]? *(optional)*# Whether or not to enable JavaScript in the context. Defaults to `true`. Learn more about [disabling JavaScript](../emulation.mdx#javascript-enabled). @@ -345,6 +345,9 @@ await browser.CloseAsync(); - `RecordVideoDir` [string]? *(optional)*# Enables video recording for all pages into the specified directory. If not specified videos are not recorded. Make sure to call [BrowserContext.CloseAsync()](/api/class-browsercontext.mdx#browser-context-close) for videos to be saved. + - `RecordVideoFps` [int]? *(optional)* Added in: v1.64# + + Frame rate of the recorded videos in frames per second. Defaults to `25`. Firefox and WebKit currently capture up to 25 frames per second. - `RecordVideoSize` RecordVideoSize? *(optional)*# - `Width` [int] @@ -434,7 +437,7 @@ await Browser.NewPageAsync(options); - `BypassCSP` [bool]? *(optional)*# Toggles bypassing page's Content-Security-Policy. Defaults to `false`. - - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: 1.46# + - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: v1.46# - `Origin` [string] Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port. @@ -526,7 +529,7 @@ await Browser.NewPageAsync(options); Whether to ignore HTTPS errors when sending network requests. Defaults to `false`. - `IsMobile` [bool]? *(optional)*# - Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](../emulation.mdx#ismobile). + Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false`. Learn more about [mobile emulation](../emulation.mdx#ismobile). - `JavaScriptEnabled` [bool]? *(optional)*# Whether or not to enable JavaScript in the context. Defaults to `true`. Learn more about [disabling JavaScript](../emulation.mdx#javascript-enabled). @@ -570,6 +573,9 @@ await Browser.NewPageAsync(options); - `RecordVideoDir` [string]? *(optional)*# Enables video recording for all pages into the specified directory. If not specified videos are not recorded. Make sure to call [BrowserContext.CloseAsync()](/api/class-browsercontext.mdx#browser-context-close) for videos to be saved. + - `RecordVideoFps` [int]? *(optional)* Added in: v1.64# + + Frame rate of the recorded videos in frames per second. Defaults to `25`. Firefox and WebKit currently capture up to 25 frames per second. - `RecordVideoSize` RecordVideoSize? *(optional)*# - `Width` [int] diff --git a/dotnet/docs/api/class-browsertype.mdx b/dotnet/docs/api/class-browsertype.mdx index 7cb0119cf7..2e7f608788 100644 --- a/dotnet/docs/api/class-browsertype.mdx +++ b/dotnet/docs/api/class-browsertype.mdx @@ -327,7 +327,7 @@ await BrowserType.LaunchPersistentContextAsync(userDataDir, options); - `ChromiumSandbox` [bool]? *(optional)*# Enable Chromium sandboxing. Defaults to `false`. - - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: 1.46# + - `ClientCertificates` [IEnumerable]?<ClientCertificates> *(optional)* Added in: v1.46# - `Origin` [string] Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port. @@ -451,7 +451,7 @@ await BrowserType.LaunchPersistentContextAsync(userDataDir, options); Whether to ignore HTTPS errors when sending network requests. Defaults to `false`. - `IsMobile` [bool]? *(optional)*# - Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](../emulation.mdx#ismobile). + Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false`. Learn more about [mobile emulation](../emulation.mdx#ismobile). - `JavaScriptEnabled` [bool]? *(optional)*# Whether or not to enable JavaScript in the context. Defaults to `true`. Learn more about [disabling JavaScript](../emulation.mdx#javascript-enabled). @@ -495,6 +495,9 @@ await BrowserType.LaunchPersistentContextAsync(userDataDir, options); - `RecordVideoDir` [string]? *(optional)*# Enables video recording for all pages into the specified directory. If not specified videos are not recorded. Make sure to call [BrowserContext.CloseAsync()](/api/class-browsercontext.mdx#browser-context-close) for videos to be saved. + - `RecordVideoFps` [int]? *(optional)* Added in: v1.64# + + Frame rate of the recorded videos in frames per second. Defaults to `25`. Firefox and WebKit currently capture up to 25 frames per second. - `RecordVideoSize` RecordVideoSize? *(optional)*# - `Width` [int] diff --git a/dotnet/docs/api/class-cdpsession.mdx b/dotnet/docs/api/class-cdpsession.mdx index 10de76efcf..2058914207 100644 --- a/dotnet/docs/api/class-cdpsession.mdx +++ b/dotnet/docs/api/class-cdpsession.mdx @@ -49,7 +49,7 @@ await CdpSession.DetachAsync(); ### Event {/* #cdp-session-event */} -Added in: v.1.30cdpSession.Event +Added in: v1.30cdpSession.Event Returns an event emitter for the given CDP event name. @@ -60,7 +60,7 @@ CdpSession.Event(eventName); ``` **Arguments** -- `eventName` [string] Added in: v1.30# +- `eventName` [string]# CDP event name. diff --git a/dotnet/docs/api/class-cdpsessionevent.mdx b/dotnet/docs/api/class-cdpsessionevent.mdx index d9c30181e3..8a319e9af6 100644 --- a/dotnet/docs/api/class-cdpsessionevent.mdx +++ b/dotnet/docs/api/class-cdpsessionevent.mdx @@ -18,7 +18,7 @@ Each object represents a named event and allows handling of the event when it is ### EventName {/* #cdp-session-event-event-name */} -Added in: 1.30cdpSessionEvent.EventName +Added in: v1.30cdpSessionEvent.EventName **Usage** diff --git a/dotnet/docs/api/class-clock.mdx b/dotnet/docs/api/class-clock.mdx index 83c0f35fb6..c5e28578f4 100644 --- a/dotnet/docs/api/class-clock.mdx +++ b/dotnet/docs/api/class-clock.mdx @@ -45,6 +45,7 @@ await page.Clock.FastForwardAsync("30:00"); Install fake implementations for the following time-related functions: * `Date` +* `Temporal.Now` * `setTimeout` * `clearTimeout` * `setInterval` diff --git a/dotnet/docs/api/class-frame.mdx b/dotnet/docs/api/class-frame.mdx index f5c30fa9b9..57949fa4c0 100644 --- a/dotnet/docs/api/class-frame.mdx +++ b/dotnet/docs/api/class-frame.mdx @@ -136,9 +136,15 @@ Gets the full HTML contents of the frame, including the doctype. **Usage** ```csharp -await Frame.ContentAsync(); +await Frame.ContentAsync(options); ``` +**Arguments** +- `options` `FrameContentOptions?` *(optional)* + - `IncludeShadow` [bool]? *(optional)* Added in: v1.64# + + When true, contents of open shadow roots are included as [declarative shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM#declaratively_with_html), i.e. `