Skip to content

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

docs(dotnet): adding missing methods from dotnet port (#5763)

Anže Vodovnik720dea40692b
diff --git a/docs/src/api/csharp.md b/docs/src/api/csharp.md
new file mode 100644
index 0000000000..d8e0a7d6a2
--- /dev/null
+++ b/docs/src/api/csharp.md
@@ -0,0 +1,16 @@
+## method: Request.getPayloadAsJson
+* langs: csharp
+- returns: <[JsonDocument]>
+
+Returns a [JsonDocument] representation of [`method: Request.postDataBuffer`].
+
+### option: Request.getPayloadAsJson.serializerOptions
+- `documentOptions` <[null]|[JsonDocumentOptions]>
+
+The options that control custom behaviour when parsing the JSON.
+
+## method: Response.statusCode
+* langs: csharp
+- returns: <[System.Net.HttpStatusCode]>
+
+Gets the [System.Net.HttpStatusCode] code of the response.