Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/bundler/aws-partitions-1.981.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alinasafonova authored Sep 30, 2024
2 parents 2e1527e + d1e4665 commit 7fc3b12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
### New Features

* Add chromedriver `129.0.6668.70`
* Added "--unsafely-treat-insecure-origin-as-secure" flag to chrome startup
to download files via http without confirmation

### Changes

Expand Down
1 change: 1 addition & 0 deletions lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def start_chrome_driver
switches = add_useragent_to_switches(DEFAULT_CHROME_SWITCHES)
options = Selenium::WebDriver::Chrome::Options.new(args: switches,
prefs: prefs)
options.add_argument("--unsafely-treat-insecure-origin-as-secure=#{ENV['PortalIP']}") if ENV['PortalIP']
webdriver_options = { options: options,
service: chrome_service }
driver = Selenium::WebDriver.for :chrome, webdriver_options
Expand Down

0 comments on commit 7fc3b12

Please sign in to comment.