sidorares / crmux Goto Github PK
View Code? Open in Web Editor NEWChrome developer tools remote protocol multiplexer.
License: MIT License
Chrome developer tools remote protocol multiplexer.
License: MIT License
Currently ws ip address is not transformed and if you attempt to connect from remote machine you are connecting to remote's machine localhost
I'd like to be able to run a large number of chrome browsers behind a load balancer.
There seems to be some repeated work between chrome-remote-multiplex and crmux:
https://npmcompare.com/compare/chrome-remote-multiplex,crmux
It would be good for you, @sidorares, and @johnspackman to work together on one module.
First off, very cool projects, Andrey. I appreciate you sharing your work here.
As I briefly mentioned via twitter, I'm building a simple PoC of a web app that instruments an iframe on the page using a websocket connection and the devtools protocol. All is working fine, except for inspecting the page to see how my messages are being handled.
Although I was able to maintain my socket connection when I inspect the page, I still get the message that devtools has been detached because the front end was launched. Isn't that was we are trying to avoid here with the multiplexer?
It may just be user error, here, so please advise if I may be doing something wrong, but I am just following the documentation provided in the project's README.
Thanks,
Eric
@htmleric
I'm not able to connect two devtools sessions using crmux.
Starting up a chrome session using the arguments chrome --remote-debugging-port=9222 --user-data-dir=Default or Brackets IDE LivePreview.
I'm able to connect to one using localhost:9223, but unable to connect again to the same tab using either another connection through localhost:9223, localhost:9222, Chrome Devtools App, or opening devtools on the page itself.
Maybe I was under the wrong impression on the functionality of the multiplexer?
To help, my end goal was to be able to be able to use another debugger while still using Brackets IDE LivePreview functionality.
When I set --remote-debugging-port=9222
using selenium-webdriver gem 3.8.0 and chromedriver-helper gem 1.1.0, which corresponds to the chromedriver-helper version 2.33.506106, I cannot get selenium to run. It errors out with Net::ReadTimeout
. If I then set the port manually to 9222 in Selenium's gem files, I get the error:
Selenium::WebDriver::Error::WebDriverError:
unable to bind to locking port 9522 within 45 seconds
Is there some pointer you could give here to get crmux working with Selenium? I can boot up crmux and Chrome's inspect, but it doesn't help anything, since Selenium can't load the web page.
Same as sidorares/crconsole#3
Should be possible to specify phone ip (with adb+tcp enabled) and connect to chrome
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.