module Appium::Android::Command
def start_logs_broadcast(logcat_file = 'logcat.log')
-
logcat_file
(String
) -- A file path to write messages from a logcat WebSocket client
def start_logs_broadcast(logcat_file = 'logcat.log') @driver.execute_script 'mobile: startLogsBroadcast' socket_url = "ws://#{URI.parse(server_url).host}:#{@core.port}/ws/session/#{@driver.session_id}/appium/device/logcat" @logcat_client = ::Appium::Common::Command::WsLogcat.new(url: socket_url, output_file: logcat_file) end