mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Added info on how to find the browserWSEndpoint (#780)
This commit is contained in:
parent
9b0a06216e
commit
0164b7cc4e
@ -228,7 +228,9 @@ Closes browser with all the pages (if any were opened). The browser object itsel
|
|||||||
- returns: <[string]> Browser websocket url.
|
- returns: <[string]> Browser websocket url.
|
||||||
|
|
||||||
Browser websocket endpoint which could be used as an argument to
|
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
|
### class: Page
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user