Update chrome.js

This commit is contained in:
Namhyeon Go 2021-09-27 09:29:36 +09:00 committed by GitHub
parent e848b5d116
commit fd081bc1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -819,8 +819,6 @@ var ChromeObject = function() {
; ;
return this.evaluate(s); return this.evaluate(s);
}; };
this.scrollTo = function(x, y) { this.scrollTo = function(x, y) {
return this.evaluate('window.scrollTo(parseInt(' + x + '), parseInt(' + y + '))'); return this.evaluate('window.scrollTo(parseInt(' + x + '), parseInt(' + y + '))');