actors.screenshot module

class actors.screenshot.ScreenshotActor(*args, **kwargs)

Bases: Actor

https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/screenshot.js

capture(browsing_context_id: int, fullpage=True, file=False, copy_clipboard=False, selector='', dpr=2, delay_sec=0, snapshot_scale=1, left: int | None = None, top: int | None = None, width: int | None = None, height: int | None = None)