We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40779c commit bc99496Copy full SHA for bc99496
lib/ferrum/page/screenshot.rb
@@ -145,9 +145,9 @@ def to_camel_case(option)
145
option.to_s.gsub(/(?:_|(\/))([a-z\d]*)/) { "#{$1}#{$2.capitalize}" }.to_sym
146
end
147
148
- def capture_screenshot(options, full, background_rgba_color)
+ def capture_screenshot(options, full, background_color)
149
maybe_resize_fullscreen(full) do
150
- with_background_color(background_rgba_color) do
+ with_background_color(background_color) do
151
command("Page.captureScreenshot", **options)
152
153
end.fetch("data")
0 commit comments