def capture
      # This necessary to install PhantomJS via proxy
      Phantomjs.proxy_host = proxy_host if proxy_host
      Phantomjs.proxy_port = proxy_port if proxy_port

      output = Phantomjs.run(options, SCRIPT_PATH.to_s, *prepared_params)
      handle_output(output)

      Gastly::Image.new(image)
    end
def capture
      # This necessary to install PhantomJS via proxy
      Phantomjs.proxy_host = proxy_host if proxy_host
      Phantomjs.proxy_port = proxy_port if proxy_port

      output = Phantomjs.run(options, SCRIPT_PATH.to_s, *prepared_params)
      handle_output(output)

      Gastly::Image.new(image)
    end
@param url [String] The full url to the site
 Capture image via PhantomJS and save to output file

 @return [Gastly::Image] Instance of Gastly::Image