The GrabzIt Ruby API provides the ability to take screenshots of mobile versions of websites, however not all websites have special mobile versions and so it may not work in all circumstances. Mobile screenshot can be requested for both image and PDF screenshots as well as when extracting tables.
To get a more authenticate mobile screenshot it is also a good idea to pass a standard mobile browser width to the
browserWidth method or if you are creating a PDF choose a smaller page size.
options = GrabzIt::ImageOptions.new() options.format = "png" options.browserWidth = 320 options.width = 256 options.height = 256 options.requestAs = 1 grabzItClient = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") grabzItClient.url_to_image("https://www.tesla.com", options) grabzIt.save("http://www.example.com/handler/index")