mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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.
461 B
50x50px
461 B
50x50px
![](/github/puppeteer/raw/commit/2dd0d42d412dfa0638f4937f0eb9ca8c551d009b/test/golden-chromium/screenshot-element-bounding-box.png)