tolmasky / lithograph

Puppeteer-first Super Fast Testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Puppeteer's Page.captureSnapshot to generate interactive "movies" in resultant HTML

tolmasky opened this issue · comments

Puppeteer's Page.captureSnapshot create MHTML files that contain the entire DOM structure of the page. This would be better than just taking a snapshot or creating a movie as we could actually inspect the DOM after the fact.

  1. https://docs.google.com/document/d/1FvmYUC0S0BkdkR7wZsg0hLdKc_qjGnGahBwwa0CdnHE
  2. puppeteer/puppeteer#3658
  3. https://vanilla.aslushnikov.com/#Page.captureSnapshot