Skip to content

Trace: screenshots are PNG files saved with a .jpeg name #505

Closed

Description

@vishnuv688

Part of #494 (found while measuring trace size).

Problem

Per-action screenshots in a trace zip are named resources/<sha1>.jpeg, but the files are PNG: on the WDIO cucumber example's trace, every one checked is PNG image data, 1600 x 757. A viewer that derives the content type from the extension serves a PNG as image/jpeg.

Switching the format is not the fix: on those 12 screenshots PNG is the smallest (724 KB) against JPEG at quality 60 (833 KB) and 80 (1.04 MB), since flat UI pages compress well as PNG.

Proposal

Name each resource by its actual format.

Activity

  1. self-assigned this
    on Oct 29, 2026
  2. vishnuv688 commented on Oct 30, 2026

    @vishnuv688
    MemberAuthor

    Implemented in #513 (stacked on #509). It closes this issue when it reaches main.

  3. added a commit that references this issue on Oct 30, 2026
    730a86d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions