Skip to content

Commit 11c799a

Browse files
committed
[rb] fix incorrect method name
1 parent 1164555 commit 11c799a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/takes_screenshot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def save_screenshot(png_path, full_page: false)
4949
# @api public
5050

5151
def screenshot_as(format, full_page: false)
52-
if full_page && !respond_to(:full_page)
52+
if full_page && !respond_to?(:full_page)
5353
raise Error::UnsupportedOperationError, "Full Page Screenshots are not supported for #{inspect}"
5454
end
5555

0 commit comments

Comments
 (0)