site-scan icon indicating copy to clipboard operation
site-scan copied to clipboard

Inject Puppeteer Code?

Open hubertron opened this issue 5 years ago • 1 comments

Is there a way to inject puppeteer code through the CLI? For example I would like to use this:

waitUntil: 'domcontentloaded'

as some of my dev sites I use this on time out and I would rather wait till its fully loaded before assuming timeout.

Thanks!

hubertron avatar Sep 29 '18 22:09 hubertron

hmm well a flag could definitely be added for that specifically! Code injection might be a little beyond the scope of this project. I'm open to ideas though, do you have anything specific in mind for how that would work?

christopherwk210 avatar Oct 01 '18 17:10 christopherwk210