From 1c292e9253bac5ae35c10b95116a3464db179fda Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sat, 30 Sep 2017 00:59:19 +0300 Subject: [PATCH] chore(doc): fix browser.wsEndpoint() return value format (#898) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 92310407ca9..9a991754ab4 100644 --- a/docs/api.md +++ b/docs/api.md @@ -232,7 +232,7 @@ Closes browser with all the pages (if any were opened). The browser object itsel - returns: <[string]> Browser websocket url. Browser websocket endpoint which could be used as an argument to -[puppeteer.connect](#puppeteerconnectoptions). The format is `ws://${host}:${port}/browser/` +[puppeteer.connect](#puppeteerconnectoptions). The format is `ws://${host}:${port}/devtools/browser/` You can find the `webSocketDebuggerUrl` from `http://${host}:${port}/json/version`. Learn more about the [devtools protocol](https://chromedevtools.github.io/devtools-protocol) and the [browser endpoint](https://chromedevtools.github.io/devtools-protocol/#how-do-i-access-the-browser-target).