lib/appium_lib/driver.rb in appium_lib-9.7.0 vs lib/appium_lib/driver.rb in appium_lib-9.7.1

- old
+ new

@@ -428,10 +428,11 @@ # # @option http_client_ops [Hash] :http_client Custom HTTP Client # @option http_client_ops [Hash] :open_timeout Custom open timeout for http client. # @option http_client_ops [Hash] :read_timeout Custom read timeout for http client. # @return [Selenium::WebDriver] the new global driver - def start_driver(http_client_ops = { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 }) + def start_driver(http_client_ops = + { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 }) driver_quit # If automationName is set only in server side, then the following automation_name should be nil before # starting driver. automation_name = @core.automation_name