module Selenium::WebDriver::DriverExtensions::FullPageScreenshot

Public Instance Methods

save_full_page_screenshot(path) click to toggle source

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

@api public

# 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

Private Instance Methods

full_screenshot() click to toggle source
# File lib/selenium/webdriver/common/driver_extensions/full_page_screenshot.rb, line 36
def full_screenshot
  @bridge.full_screenshot
end