Sha256: 40a2493a1b16ac8259f5e09c98eec52883f7c933fb03e6cdae3c4403c4dda4e3
Contents?: true
Size: 390 Bytes
Versions: 15
Compression:
Stored size: 390 Bytes
Contents
require_relative 'adb' module Nakal module Android class Screen < Common::BaseScreen private def capture device_arg = ADB.multiple_devices_connected? ? "-s #{ENV['ADB_DEVICE_ARG']}" : "" `adb #{device_arg} shell screencap -p /sdcard/#{@name}.png` `adb #{device_arg} pull /sdcard/#{@name}.png #{Nakal.image_location}` end end end end
Version data entries
15 entries across 15 versions & 1 rubygems