Skip to content
This repository was archived by the owner on Dec 24, 2023. It is now read-only.
This repository was archived by the owner on Dec 24, 2023. It is now read-only.

Support big screenshot #60

@ryuran

Description

@ryuran

Environment (please complete the following information):

  • webdriver-image-comparison version: 0.13.2

Describe the bug
Web driver Image fail on big images.

Given error :

invalid value (typically too big) for the size of the input (surface, pattern, etc.)

Automattic/node-canvas#1374

To Reproduce
Try with an image ~40000px long.

Expected behavior
webdriver-image-comparison should be able to manage big images (useful for full page screen shot).

Log

invalid value (typically too big) for the size of the input (surface, pattern, etc.)

Additional context
this comment advice to split the image to avoid this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions