Skip to content

Commit

Permalink
Added info on how to find the browserWSEndpoint (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan authored and paulirish committed Sep 26, 2017
1 parent 9b0a062 commit 0164b7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api.md
Expand Up @@ -228,7 +228,9 @@ 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).
[puppeteer.connect](#puppeteerconnectoptions). The format is `ws://${host}:${port}/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).

### class: Page

Expand Down

0 comments on commit 0164b7c

Please sign in to comment.