Drop support for net-http-persistent < 3.0
@@ -46,12 +46,7 @@ module Selenium
proxy = URI.parse(url)
end
- if Net::HTTP::Persistent::VERSION >= '3'
Net::HTTP::Persistent.new name: 'webdriver', proxy: proxy
- else
- WebDriver.logger.warn 'Support for this version of net-http-persistent is deprecated. Please upgrade.'
- Net::HTTP::Persistent.new 'webdriver', proxy
- end
end
def response_for(request)
