%%python module ScreenshotLibrary from robot.libraries.BuiltIn import BuiltIn from IPython.display import Image class ScreenshotLibrary: def display_full_page_screenshot(self): display(Image(BuiltIn().get_library_instance( 'SeleniumLibrary' )._drivers.current.get_full_page_screenshot_as_png())) *** Settings *** Library SeleniumLibrary Library ScreenshotLibrary *** Tasks *** Take full page screenshot Open browser https://mozilla.com alias=singleton Display full page screenshot