From c55000812b39a4e265a6ebddb8bee788e683a322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20Vodovnik?= Date: Wed, 17 Mar 2021 18:28:40 +0100 Subject: [PATCH] docs(dotnet): adds option parameters for csharp on element handle (#5823) --- docs/src/api/csharp.md | 3 +++ docs/src/api/params.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/src/api/csharp.md b/docs/src/api/csharp.md index d8e0a7d6a2..5a72a1aa30 100644 --- a/docs/src/api/csharp.md +++ b/docs/src/api/csharp.md @@ -14,3 +14,6 @@ The options that control custom behaviour when parsing the JSON. - returns: <[System.Net.HttpStatusCode]> Gets the [System.Net.HttpStatusCode] code of the response. + +### param: ElementHandle.selectOption.values = %%-csharp-select-options-values-%% +### param: ElementHandle.setInputFiles.files = %%-csharp-input-files-%% \ No newline at end of file diff --git a/docs/src/api/params.md b/docs/src/api/params.md index 05cbeae63c..caff150d02 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -519,6 +519,24 @@ The default value can be changed by using the [`method: BrowserContext.setDefaul Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the [`method: AndroidDevice.setDefaultTimeout`] method. +## csharp-select-options-values +* langs: csharp +- `values` <[Array]<[Object]>> + - `value` <[string]> Matches by `option.value`. Optional. + - `label` <[string]> Matches by `option.label`. Optional. + - `index` <[int]> Matches by the index. Optional. + +Options to select. If the `