Skip to content

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

docs: fix Java/.NET types for docs rolling (#32924)

Max Schmitt6373fe703dbd
diff --git a/docs/src/api/class-websocketroute.md b/docs/src/api/class-websocketroute.md
index d2fd7cb2eb..e5347b07b1 100644
--- a/docs/src/api/class-websocketroute.md
+++ b/docs/src/api/class-websocketroute.md
@@ -255,10 +255,17 @@ By default, closing one side of the connection, either in the page or on the ser
### param: WebSocketRoute.onClose.handler
* since: v1.48
+* langs: js, python
- `handler` <[function]\([number]|[undefined], [string]|[undefined]\): [Promise<any>|any]>
Function that will handle WebSocket closure. Received an optional [close code](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#code) and an optional [close reason](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#reason).
+### param: WebSocketRoute.onClose.handler
+* since: v1.48
+* langs: java, csharp
+- `handler` <[function]\([null]|[number], [null]|[string]\)>
+
+Function that will handle WebSocket closure. Received an optional [close code](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#code) and an optional [close reason](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#reason).
## async method: WebSocketRoute.onMessage