123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Instance Method Details

#full_screenshot (private)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/driver_extensions/full_page_screenshot.rb', line 36

def full_screenshot
  @bridge.full_screenshot
end

#save_full_page_screenshot(path)

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

[ GitHub ]

  
# File 'rb/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