Skip to content

[Feature]: Debug Snapshot Decorator (bundle + network + traceback) #246

@thalissonvs

Description

@thalissonvs

When a site changes and an automation breaks, it is often hard to reproduce the exact conditions that caused the error. Today users need to manually save the page, export the network, and collect the traceback separately.

We should add a decorator (name TBD, e.g. @debug_snapshot) that automatically captures all relevant context whenever an exception is raised. It depends on issues #245 and #244.

On failure, the decorator saves a structured folder (or zip) containing:

  • bundle.zip (offline page bundle)
  • network.har (recorded network)
  • traceback.log (full exception traceback)

This feature makes debugging broken flows much easier, especially when the target website changes unexpectedly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfuture planningIdeas or features proposed for future development.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions