Module: Appium::Core::Mac2::Device

Extended by:
Forwardable
Defined in:
lib/appium_lib_core/mac2/device.rb,
lib/appium_lib_core/mac2/device/screen.rb

Defined Under Namespace

Modules: Screen

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(_mod) ⇒ Object



85
86
87
# File 'lib/appium_lib_core/mac2/device.rb', line 85

def extended(_mod)
  Screen.add_methods
end

Instance Method Details

#start_recording_screen(remote_path: nil, user: nil, pass: nil, method: 'PUT', file_field_name: nil, form_fields: nil, headers: nil, force_restart: nil, fps: nil, preset: nil, video_filter: nil, enable_capture_clicks: nil, enable_cursor_capture: nil, device_id: nil) ⇒ Object

Record the display of devices running iOS Simulator since Xcode 9 or real devices since iOS 11 (ffmpeg utility is required: ‘brew install ffmpeg’). We would recommend to play the video by VLC or Mplayer if you can not play the video with other video players.

Examples:


@driver.start_recording_screen
@driver.start_recording_screen fps: 30, enable_cursor_capture: true

Since:

  • Appium 1.20.0



# File 'lib/appium_lib_core/mac2/device.rb', line 25