Describe the bug
The host option for Chrome no longer works since Google has dropped support for --remote-debugging-address:
https://issues.chromium.org/issues/41487252
What I'd like to do is initiate an instance of Ferrum::Browser with the following options:
browser = Ferrum::Browser.new(host: "ferrum.localhost")
This allows me to see all requests made to Chrome (from Ruby) going through ferrum.localhost so that I can allow-list the URL. With this recent change, Ferrum always hits http://127.0.0.1:XXXXX/json/version and it's tripping up VCR / HTTP stubbing. I don't want to blindly allow all localhost connections so I have to look for 127.0.0.1 and /json/version path.
Ideally, I would love to be able to instruct Ferrum to connect to a specific host (like ferrum.localhost) while still have it boot its Chrome itself.
Describe the bug
The
hostoption for Chrome no longer works since Google has dropped support for--remote-debugging-address:https://issues.chromium.org/issues/41487252
What I'd like to do is initiate an instance of
Ferrum::Browserwith the following options:This allows me to see all requests made to Chrome (from Ruby) going through
ferrum.localhostso that I can allow-list the URL. With this recent change, Ferrum always hitshttp://127.0.0.1:XXXXX/json/versionand it's tripping up VCR / HTTP stubbing. I don't want to blindly allow all localhost connections so I have to look for127.0.0.1and/json/versionpath.Ideally, I would love to be able to instruct Ferrum to connect to a specific
host(likeferrum.localhost) while still have it boot its Chrome itself.