Currently, it's impossible to do screenshots in parallel. This patch: - makes all screenshot tasks sequential inside one browser - starts activating target before taking screenshot - adds a test to make sure it's possible to take screenshots across tabs - starts waiting for a proper page closing after each test. This might finally solve the ECONNRESET issues in tests. References #89
436 B
50x50px
436 B
50x50px
![](/thunderstrike/puppeteer/raw/commit/35a5d8bba93ba24d53c9c829b85935a8e83f4a85/test/golden/grid-cell-0.png)