Sha256: 87f7136384d0eb6f28de5a666cb87a21c01fc537124ac0d6108e5c0659986690
Contents?: true
Size: 1.19 KB
Versions: 15
Compression:
Stored size: 1.19 KB
Contents
module Appium module Core module Ios module Xcuitest module Device module Screen def self.add_methods ::Appium::Core::Device.add_endpoint_method(:start_recording_screen) do # rubocop:disable Metrics/ParameterLists def start_recording_screen(remote_path: nil, user: nil, pass: nil, method: nil, force_restart: nil, video_type: 'mp4', time_limit: '180', video_quality: 'medium') option = ::Appium::Core::Base::Device::ScreenRecord.new( remote_path: remote_path, user: user, pass: pass, method: method, force_restart: force_restart ).upload_option option[:videoType] = video_type option[:timeLimit] = time_limit option[:videoQuality] = video_quality execute(:start_recording_screen, {}, { options: option }) end # rubocop:enable Metrics/ParameterLists end end end # module Screen end # module Device end # module Xcuitest end # module Ios end # module Core end # module Appium
Version data entries
15 entries across 15 versions & 1 rubygems