We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad3f5a commit 049958bCopy full SHA for 049958b
rb/lib/selenium/server.rb
@@ -142,15 +142,15 @@ def download_server(uri, destination)
142
143
if (segment_count % 15).zero?
144
percent = progress.fdiv(total) * 100
145
- print "#{CL_RESET}Downloading #{download_file_name}: #{percent.to_i}% (#{progress} / #{total})"
+ print "#{CL_RESET}Downloading #{destination.path}: #{percent.to_i}% (#{progress} / #{total})"
146
segment_count = 0
147
end
148
149
destination.write(segment)
150
151
152
153
- raise Error, "#{resp.code} for #{download_file_name}" unless resp.is_a? Net::HTTPSuccess
+ raise Error, "#{resp.code} for #{destination.path}" unless resp.is_a? Net::HTTPSuccess
154
155
156
0 commit comments