diff --git a/lib/Browser.js b/lib/Browser.js index c4115b42..931c2bb2 100644 --- a/lib/Browser.js +++ b/lib/Browser.js @@ -50,6 +50,7 @@ class Browser { this._chromeArguments.push(...[ `--headless`, `--disable-gpu`, + `--hide-scrollbars`, ]); } if (typeof options.executablePath === 'string') { diff --git a/test/assets/grid.html b/test/assets/grid.html index 88edbb26..c0843a8e 100644 --- a/test/assets/grid.html +++ b/test/assets/grid.html @@ -28,11 +28,6 @@ document.addEventListener('DOMContentLoaded', function() {