This patch aligns Puppeteer testing infrastructure with the approach we use in Puppeteer-Firefox. This patch: - makes all tests accept Puppeteer object as a function argument rather than require it statically. This way we can pass either Puppeteer or Puppeteer-Firefox to drive tests. - renames the `puppeteer.spec.js` into `launcher.spec.js`. The `puppeteer.spec.js` is now the entry point for all cross-browsers tests.
168 B
54x54px
168 B
54x54px
![](/thunderstrike/puppeteer/raw/commit/0ead82e29e5dc3fb56d03761c6463720a1e7a644/test/golden-chromium/screenshot-element-scrolled-into-view.png)