mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Revert node's scrolling into view in page.click()
This change was not intentional in e33a8f818c
This commit is contained in:
parent
e33a8f818c
commit
a981594b1d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user