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 1164555 commit 11c799aCopy full SHA for 11c799a
rb/lib/selenium/webdriver/common/takes_screenshot.rb
@@ -49,7 +49,7 @@ def save_screenshot(png_path, full_page: false)
49
# @api public
50
51
def screenshot_as(format, full_page: false)
52
- if full_page && !respond_to(:full_page)
+ if full_page && !respond_to?(:full_page)
53
raise Error::UnsupportedOperationError, "Full Page Screenshots are not supported for #{inspect}"
54
end
55
0 commit comments