lib/calabash-android/operations.rb in calabash-android-0.0.8 vs lib/calabash-android/operations.rb in calabash-android-0.0.10
- old
+ new
@@ -9,10 +9,10 @@
module Operations
def log(message)
- $stdout.puts "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")} - #{message}"
+ $stdout.puts "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")} - #{message}" if (ARGV.include? "-v" or ARGV.include? "--verbose")
end
def take_screenshot
begin
Timeout.timeout(30) do