Skip to content

Commit ff859c8

Browse files
committed
Forward save_screenshot options to selenium
1 parent c6a04a9 commit ff859c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/capybara/selenium/driver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ def send_keys(*args)
148148
native_active_element.send_keys(*args)
149149
end
150150

151-
def save_screenshot(path, **_options)
152-
browser.save_screenshot(path)
151+
def save_screenshot(path, **options)
152+
browser.save_screenshot(path, **options)
153153
end
154154

155155
def reset!

0 commit comments

Comments
 (0)