diff --git a/scripts/visual-diff-capture.ts b/scripts/visual-diff-capture.ts index 75c0127c1d..a0341705b8 100644 --- a/scripts/visual-diff-capture.ts +++ b/scripts/visual-diff-capture.ts @@ -159,7 +159,7 @@ class BrowserAuto { 'visit: %s, onlyViewport: %s, openTriggerClassName: %s', pageUrl, onlyViewport, - options.openTriggerClassName, + options.openTriggerClassName || false, ); if (!onlyViewport) { // Get scroll height of the rendered page and set viewport