Skip to content

Commit

Permalink
chore(doc): fix browser.wsEndpoint() return value format (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt authored and aslushnikov committed Sep 29, 2017
1 parent c46c41d commit 1c292e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -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/<id>`
[puppeteer.connect](#puppeteerconnectoptions). The format is `ws://${host}:${port}/devtools/browser/<id>`

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).

Expand Down

0 comments on commit 1c292e9

Please sign in to comment.