We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eccf5c4 + 1d9750e commit 0f234afCopy full SHA for 0f234af
lib/server.js
@@ -109,6 +109,11 @@ exports.Server = function Server(bsClient, workers) {
109
status += query.failed;
110
111
if (worker) {
112
+ bsClient.takeScreenshot(worker.id,function(error,screenshot){
113
+ if(!error && screenshot.url){
114
+ console.log('[%s] Screenshot: %s', worker.string, screenshot.url);
115
+ }
116
+
117
bsClient.terminateWorker(worker.id, function () {
118
if (!workers[uuid]) {
119
return;
@@ -129,6 +134,7 @@ exports.Server = function Server(bsClient, workers) {
129
134
process.exit(status);
130
135
}
131
136
});
137
+ });
132
138
133
139
140
response.end();
0 commit comments