Skip to content
YosoiDocs

screenshot

yosoi.browser.screenshot

def screenshot() -> Screenshot:

Declare screenshot capture without executing it.

Returns: Immutable Screenshot step; captured bytes appear in execution evidence.

Source: python/yosoi/browser.py:1677