Skip to content

Locally export session replay during development #4835

@aellett

Description

@aellett

Problem Statement

I saw a few other issues (one for SwiftUI and one for UIKit) that asked for an ability to see masking in real time (through preview or something). I'd also be interested in the ability to save replays locally during development.

First, I think this would be easier to share a replay with a product manager, another dev, or maybe attach to a ticket if I had a file generated that contained the replay.

Second, I would love to be able to write some snapshot tests to verify that my screens are all getting masked correctly, and I think that this capability might make that (more) possible to implement.

Solution Brainstorm

This might have some crossover with #4834. I imagine that if you had a beforeXXXSessionReplay that you could probably save the replay yourself in the way that you wanted to, but I thought that it would be a nice convenience to just have to provide a path (or use a sensible default) before you saw a file show up in your artifacts.

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions