Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(dotnet): generate IDownload.createReadStream method (#6192)

Darío Kondratiuk7dccfd42275b
diff --git a/docs/src/api/class-download.md b/docs/src/api/class-download.md
index 1a1c7afa96..b1e6fd8196 100644
--- a/docs/src/api/class-download.md
+++ b/docs/src/api/class-download.md
@@ -55,7 +55,7 @@ not performed and user has no access to the downloaded files.
:::
## async method: Download.createReadStream
-* langs: java, js
+* langs: java, js, csharp
- returns: <[null]|[Readable]>
Returns readable stream for current download or `null` if download failed.
diff --git a/utils/doclint/generateDotnetApi.js b/utils/doclint/generateDotnetApi.js
index c97e38a2dd..b84e140c7b 100644
--- a/utils/doclint/generateDotnetApi.js
+++ b/utils/doclint/generateDotnetApi.js
@@ -98,6 +98,7 @@ const customTypeNames = new Map([
classNameMap.set('path', 'string');
classNameMap.set('URL', 'string');
classNameMap.set('RegExp', 'Regex');
+ classNameMap.set('Readable', 'Stream');
// this are types that we don't explicility render even if we get the specs
const ignoredTypes = ['TimeoutException'];