diff --git a/lib/Page.js b/lib/Page.js index 554f9e6f..88091bff 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -555,7 +555,6 @@ class Page extends EventEmitter { let node = document.querySelector(selector); if (!node) return null; - node.scrollIntoView(); let rect = node.getBoundingClientRect(); return { x: (rect.left + rect.right) / 2,