The test site we used (stackoverflow) was downloaded and hosted locally (/var/www/html/) on the BLeak artifact, and the following config file was run, the bleak result viewer shows "No source files found in results file"
exports.url = "http://localhost/stackoverflow/"
exports.loop = [
// First state
{
check: function() {
return true;
},
next: function() {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
}
},
{
// Return 'true' if the web application is ready for `next` to be run.
check: function() {
// Example: `group-listing` must be on the webpage
return true;
},
// Transitions to the next state.
next: function() {
// Example: Navigate to the first thread
window.scrollTo({ top: 0, behavior: 'smooth' });
}
}
];
exports.iterations = 5;
exports.postNextSleep = 5000;
[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks
Results can be found in stackoverflow
(node:2218) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: socket disconnect
Error: socket disconnect
at DebuggingProtocol.onClose (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/create-debugging-protocol-client.js:47:27)
at Promise.then (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/open-web-socket.js:33:22)
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks(node:2218) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
at emitWarning (internal/process/promises.js:78:15)
at emitPendingUnhandledRejections (internal/process/promises.js:95:11)
at process._tickDomainCallback (internal/process/next_tick.js:229:7)
The test site we used (stackoverflow) was downloaded and hosted locally (/var/www/html/) on the BLeak artifact, and the following config file was run, the bleak result viewer shows "No source files found in results file"
bleak@bleakartifact:~/Desktop/My$ bleak run --config stackoverflow.config.js --out stackoverflow --snapshot true http://localhost/stackoverflow/js/integrator.js:0:0 Uncaught ReferenceError: processGoogleToken is not defined at http://localhost/stackoverflow/js/integrator.js:1:1 undefined http://localhost/stackoverflow/js/integrator.js:0:0
http://localhost/stackoverflow/js/integrator_1.js:0:0 Uncaught ReferenceError: processGoogleToken is not defined at http://localhost/stackoverflow/js/integrator_1.js:1:1 undefined http://localhost/stackoverflow/js/integrator_1.js:0:0
http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7910:5 Uncaught TypeError: Cannot read property 'length' of undefined at Ot (http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7911:6) at au (http://localhost/stackoverflow/js/pubads_impl_2020060103.js:8035:40) at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12272:3 at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12275:4 undefined Ot at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7910:5 au at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:8034:39 http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12271:2 http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12274:3
[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks Results can be found in stackoverflow (node:2218) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: socket disconnect Error: socket disconnect at DebuggingProtocol.onClose (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/create-debugging-protocol-client.js:47:27) at Promise.then (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/open-web-socket.js:33:22) at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks(node:2218) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
at emitWarning (internal/process/promises.js:78:15)
at emitPendingUnhandledRejections (internal/process/promises.js:95:11)
at process._tickDomainCallback (internal/process/next_tick.js:229:7)