garris / garris/BackstopJS

onAfter to support things like dumping chrome perf report

Open
#1,077 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

Since there was another ticket closed for an already supported use case I figured I'd open a request for onAfter for another use case that I'm not sure would be supported by putting cleanup at the start on the onReady/onBefore script.

I would love to use the [puppeteer trace](https://github.com/GoogleChrome/puppeteer/blob/v1.19.0/docs/api.md#class-tracing) to capture page load time reports along with the screenshot. AFAICT there's no way to do this with the existing Backstop API

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.