diff --git a/lib/kimurai/browser_builder/mechanize_builder.rb b/lib/kimurai/browser_builder/mechanize_builder.rb index 07a3322..17e5b71 100644 --- a/lib/kimurai/browser_builder/mechanize_builder.rb +++ b/lib/kimurai/browser_builder/mechanize_builder.rb @@ -47,7 +47,7 @@ def build # SSL if ssl_cert_path = @config[:ssl_cert_path].presence - @browser.driver.browser.agent.http.ca_file = ssl_cert_path + @browser.driver.browser.agent.ca_file = ssl_cert_path logger.debug "BrowserBuilder (mechanize): enabled custom ssl_cert" end