Skip to content
YosoiDocs

rerun_browser

yosoi.surface.rerun_browser

async def rerun_browser(outcome: Outcome, policy: SurfacePolicy, count: int=1, headless: bool=True) -> tuple[Outcome, ...]:

Rerun a sealed browser recipe with explicit source display selection.

Each iteration resolves fresh references and retains its own outcome. Errors preserve partial evidence; they never imply rollback of dispatched effects.

Source: python/yosoi/surface.py:1190