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.
1 parent 098bb4c commit d70658cCopy full SHA for d70658c
bin/runner.js
@@ -125,7 +125,11 @@ function launchBrowser(browser, url) {
125
if (!worker.acknowledged) {
126
var subject = "Worker inactive for too long: " + worker.string;
127
var content = "Worker details:\n" + JSON.stringify(worker.config, null, 4);
128
-
+ client.takeScreenshot(worker.id, function(error, screenshot) {
129
+ if (!error && screenshot.url) {
130
+ console.log('[%s] Screenshot: %s', worker.string, screenshot.url);
131
+ }
132
+ });
133
utils.alertBrowserStack(subject, content);
134
}
135
}, timeout * 1000);
0 commit comments