wswebcreation / webdriver-image-comparison

MIT License
43 stars 36 forks source link

Make image comparison function support Node 18 #116

Closed mhdSid closed 1 year ago

mhdSid commented 1 year ago

Is your feature request related to a problem? Please describe. "resemblejs" has a dependency on "canvas" library which doesn't support NodeJs v.18, therefore, I would like to request that "webdriver-image-comparison" to support NodeJs v.18

Describe the solution you'd like Use pixelmatch

Describe alternatives you've considered Create pre-builds for Node 18 within "canvas" library; there is one open issue for this.

Additional context

wswebcreation commented 1 year ago

Hi @mhdSid

Tnx for this issue. I'll release a new version soon with support for Nodejs 18.

For now I want to stick to canvas because it's a bit more flexible but I do like the alternatives. Something to investigate, thanks!