lib/appium_lib/common/patch.rb in appium_lib-0.6.3 vs lib/appium_lib/common/patch.rb in appium_lib-0.6.4
- old
+ new
@@ -141,9 +141,11 @@
end # start.upto
else
ap print_command
end
end
+ delay = $driver.global_webdriver_http_sleep
+ sleep delay if !delay.nil? && delay > 0
# puts "verb: #{verb}, path #{path}, command_hash #{command_hash.to_json}"
http.call verb, path, command_hash
end # def
end # class
end # def
\ No newline at end of file