Module: Selenium::WebDriver::DriverExtensions::FullPageScreenshot Private

Defined in:
lib/selenium/webdriver/common/driver_extensions/full_page_screenshot.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#save_full_page_screenshot(path) ⇒ Object

Save a PNG screenshot of the full page to the given path



30
31
32
# File 'lib/selenium/webdriver/common/driver_extensions/full_page_screenshot.rb', line 30

def save_full_page_screenshot(path)
  save_screenshot(path, full_page: true)
end