Skip to content
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

Is there a way to disable the HTTPS-First feature in headless mode? #495

Open
tekin opened this issue Oct 9, 2024 · 0 comments
Open

Is there a way to disable the HTTPS-First feature in headless mode? #495

tekin opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@tekin
Copy link

tekin commented Oct 9, 2024

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' }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants