Index: lib/child/dataCollector.js |
=================================================================== |
--- a/lib/child/dataCollector.js |
+++ b/lib/child/dataCollector.js |
@@ -120,12 +120,10 @@ function* createScreenshot(window, scree |
if (i % 5000 == 0) |
{ |
// Take a break every 5000 bytes to prevent browser hangs |
yield new Promise((resolve, reject) => Utils.runAsync(resolve)); |
} |
} |
- // Convert the data into an image URL |
- context.putImageData(pixelData, 0, 0); |
- return canvas.toDataURL("image/png"); |
+ return pixelData; |
} |