Class: Applitools::Appium::IosScreenshot

Inherits:
Screenshot
  • Object
show all
Defined in:
lib/applitools/appium/ios_screenshot.rb

Instance Attribute Summary

Attributes inherited from Screenshot

#device_pixel_ratio, #status_bar_height

Instance Method Summary collapse

Methods inherited from Screenshot

#initialize, #sub_screenshot

Constructor Details

This class inherits a constructor from Applitools::Appium::Screenshot

Instance Method Details

#convert_location(location, _from, _to) ⇒ Object



5
6
7
# File 'lib/applitools/appium/ios_screenshot.rb', line 5

def convert_location(location, _from, _to)
  location.offset_negative(Applitools::Location.new(0, status_bar_height))
end