Selenium 4.0.0 will bring back support for capturing full page browser screenshots with Firefox.
Once the latest alpha release is installed with Python notebook magic
!pip install -U Selenium==4.0.0a3
a custom keyword library could be made to call the new screenshot methods through SeleniumLibrary.
%%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