Sha256: 4b8c86af0bf929b646fd8ec983e2124a993dd6ade9732ba7338e0c5211cbafc7
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
module Appium module Android module Command class WsLogcat < ::Appium::Core::WebSocket def initialize(url:, output_file: 'logcat.log') super(url: url) @output_file = output_file end def handle_message_data(data) File.open(@output_file, 'a') { |f| f.write("#{data}\n") } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems