lib/grover.rb in grover-0.14.1 vs lib/grover.rb in grover-0.14.2

- old
+ new

@@ -49,9 +49,18 @@ def to_pdf(path = nil) processor.convert :pdf, @url, normalized_options(path: path) end # + # Request URL with provided options and render HTML + # + # @return [String] The resulting HTML string + # + def to_html + processor.convert :content, @url, normalized_options(path: nil) + end + + # # Request URL with provided options and create screenshot # # @param [String] path Optional path to write the screenshot to # @param [String] format Optional format of the screenshot # @return [String] The resulting image data