From b8b01288d17d7005f4709897e11495698645fe80 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Wed, 13 Dec 2023 14:48:46 +0300 Subject: [PATCH] feat: set remote-allow-origins=* by default --- lib/ferrum/browser/options/chrome.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ferrum/browser/options/chrome.rb b/lib/ferrum/browser/options/chrome.rb index 3461b715..6a15b5a6 100644 --- a/lib/ferrum/browser/options/chrome.rb +++ b/lib/ferrum/browser/options/chrome.rb @@ -38,7 +38,8 @@ class Chrome < Base "metrics-recording-only" => nil, "safebrowsing-disable-auto-update" => nil, "password-store" => "basic", - "no-startup-window" => nil + "no-startup-window" => nil, + "remote-allow-origins" => "*" # NOTE: --no-sandbox is not needed if you properly setup a user in the container. # https://github.com/ebidel/lighthouse-ci/blob/master/builder/Dockerfile#L35-L40 # "no-sandbox" => nil,