Skip to content

[Feature] how to discard the videos for passed scenarios #1390

@siva90144

Description

@siva90144

I am enabling the video recording feature. I don't want to save the video if scenario passed. I need failed scenario's videos need to be saved(I want to save the space while running from cloud).

how can I achieve it?

here is sample code i used to enable it.

browserContext.set(getBrowser().newContext(new Browser.NewContextOptions().setViewportSize(width, height).setRecordVideoDir(Paths.get("./target/videos/")) .setRecordVideoSize(1280, 720)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions