Skip to content

Commit

Permalink
Update screenshotter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ylemkimon committed Jul 14, 2020
1 parent d177974 commit 185529e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/screenshotter/screenshotter.js
Expand Up @@ -6,6 +6,7 @@ const fs = require("fs-extra");
const jspngopt = require("jspngopt");
const net = require("net");
const os = require("os");
const util = require("util");
const pako = require("pako");
const path = require("path");
const selenium = require("selenium-webdriver");
Expand Down Expand Up @@ -420,7 +421,7 @@ function takeScreenshot(key) {

function checkErrors() {
driver.manage().logs().get("browser").then(function(results) {
console.log(results);
console.log(util.inspect(results, {maxArrayLength: null}));
waitThenScreenshot();
});
}
Expand Down

0 comments on commit 185529e

Please sign in to comment.