BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Puppeteer Delay is not supported

Open garris opened this issue 1 year ago • 0 comments

Puppeteer Delay feature is no longer supported.

If someone would submit a solution as a backfill (e.g. the promise timeout workaround mentioned here https://github.com/puppeteer/puppeteer/pull/11780) I would gladly publish this backward compatibility fix!

Originally posted by @furai in https://github.com/garris/BackstopJS/pull/1550#issuecomment-1964621218 👇

This update broke delay functionality. https://github.com/garris/BackstopJS/blob/master/core/util/runPuppet.js#L178 This line is now giving errors.

Puppeteer had breaking changes reported in their release notes: https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v22.0.0

I guess that example scripts in init also need updating.

garris avatar Feb 26 '24 17:02 garris