-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Expose the browser ID when launching #2865
Comments
Thanks for filing this. I looked into it and found that we have two options:
DevTools listening on 127.0.0.1:56296 and it now prints: DevTools listening on ws://127.0.0.1:63126/devtools/browser/c07d6691-cfb8-4a88-9bff-a03ce85848ea
56778
/devtools/browser/7ef11f4e-5c38-4111-8a7c-979703b95d00 We had plans to use Chrome's magic port=0 resolution already, so I'm thinking we'll do adopt the first option. @joelgriffith As for exposing to users, how about the instance object (with the |
|
I have an impl nearly ready for this in https://github.com/GoogleChrome/lighthouse/compare/browserws |
This issue was moved to GoogleChrome/chrome-launcher#10 |
When launching Chrome (at 62) it prints the special "browser" target to connect to:
This target isn't exposed/discoverable anywhere else in the protocol due to this merge: https://chromium-review.googlesource.com/c/596719
It might be a good thing to expose to consumers so that they can attach to this special target and do commands at the browser-level
The text was updated successfully, but these errors were encountered: