lib/scrap_kit/recipe.rb in scrap_kit-0.1.14 vs lib/scrap_kit/recipe.rb in scrap_kit-0.1.15
- old
+ new
@@ -209,9 +209,10 @@
options.add_argument "--hide-scrollbars"
options.add_argument "--user-agent=#{@user_agent}" if @user_agent
if chrome_bin = ENV["GOOGLE_CHROME_SHIM"]
options.add_argument "--no-sandbox"
+ options.add_argument "--disable-dev-shm-usage"
options.binary = chrome_bin
end
new_browser = Watir::Browser.new(:chrome, options: options)
new_browser.driver.manage.timeouts.page_load = 120