Skip to content

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

doc: require webSocket:true for endpoint availability (#706)

Pavel Feldmane2764306b35b
diff --git a/docs/api.md b/docs/api.md
index 1a02a24fb1..e6e5d0de71 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -3311,7 +3311,7 @@ Kills the browser process.
#### browserApp.wsEndpoint()
- returns: <?[string]> Browser websocket url.
-Browser websocket endpoint which can be used as an argument to [browserType.connect(options)] to establish connection to the browser.
+Browser websocket endpoint which can be used as an argument to [browserType.connect(options)] to establish connection to the browser. Requires browser app to be launched with `browserType.launchBrowserApp({ webSocket: true, ... })`.
### class: BrowserType