From 9115ca2782a0c58003bdd0d98ed176d72d35e1d3 Mon Sep 17 00:00:00 2001 From: Matt Ford Date: Fri, 24 May 2024 15:42:32 +0100 Subject: [PATCH] Update getScreenshots.js --- src/getScreenshots.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/getScreenshots.js b/src/getScreenshots.js index 04cf0c0..7651c60 100644 --- a/src/getScreenshots.js +++ b/src/getScreenshots.js @@ -4,6 +4,7 @@ import ProgressBar from './progressBar'; import { executeScript } from './executeScript'; const onComplete = () => ProgressBar.tick(); +const onInfo = () => {}; const onError = () => ProgressBar.stop(); const generateSnapShotPromises = (SnapShotter, config) => { @@ -36,6 +37,7 @@ const generateSnapShotPromises = (SnapShotter, config) => { }, { webdriver, By, until }, onComplete, + onInfo, onError ) );