Closed jecfish closed 1 year ago
@Siddhantshukla814 fyi!
Hi @jecfish could you share an example of sourcemaps implementation?
@Siddhantshukla814 you can see the implementation starting here https://github.com/puppeteer/replay/blob/main/src/stringify.ts#L68
Hi @OrKoN, currently this extension don't use puppeteer/replay library for generating the custom script I was wondering is there any doc that could help me with the step-by-step process to consume puppeteer/replay to generate custom scripts?
@Siddhantshukla814 we don't have a dedicated step-by-step guide but we have API docs and some real-world examples like Cypress as well as smaller sample code.
cc @jecfish
Thank you! Forgot to close this issue as this has been resolved here https://github.com/WebPageTest/Recorder-To-WPT-Script/pull/14
Chrome 110 launches a new "Show code and highlight" feature.
How to test You can test this feature with the latest Chrome Canary
Action required
If your extension doesn't have Puppeteer Replay as dependency, you can implement the [sourcemaps] (https://github.com/puppeteer/replay/blob/main/src/stringify.ts#L68) yourself to make it work.
my gif has pretty low res.