ferrum
ferrum copied to clipboard
Is there a way to disable the HTTPS-First feature in headless mode?
Not actually a ferrum bug but I'm struggling to figure out how to disable Chrome's HTTPS-First Mode and was wondering if anyone had any ideas. It appears that the new Chrome Headless mode is resulting in requests being upgraded from HTTP to HTTPS, which is resulting in Puma errors as our test environment is not running with HTTPS enabled. I've tried all sorts of combinations of browser options but without any luck. The only way we've been able to get rid of the errors is to downgrade to the old headless mode by setting browser_options to { 'headless' => 'old' }.