Update chrome.js

This commit is contained in:
Namhyeon Go 2022-02-10 14:44:23 +09:00
parent 6e38fe1191
commit 4bc9669195

View File

@ -1171,6 +1171,14 @@ var ChromeObject = function(interfaces) {
this.oAutoIt.callFunction("MouseClick", ["left"]); this.oAutoIt.callFunction("MouseClick", ["left"]);
}; };
this.mouseWheelUp = function() {
this.oAutoIt.callFunction("MouseWheel", ["up"]);
};
this.mouseWheelDown = function() {
this.oAutoIt.callFunction("MouseWheel", ["down"]);
};
this.create(); this.create();
}; };
ChromeObject.prototype = new STD.EventableObject(); ChromeObject.prototype = new STD.EventableObject();
@ -1208,7 +1216,7 @@ exports.startDebug = function(url, proxy, profileName, debuggingPort, isPreventP
.setIsPreventProxy(isPreventProxy) .setIsPreventProxy(isPreventProxy)
.addUserAgentsFromFile("data\\Chrome.txt") .addUserAgentsFromFile("data\\Chrome.txt")
.addUserAgentsFromFile("data\\Edge.txt") .addUserAgentsFromFile("data\\Edge.txt")
.addUserAgentsFromFile("data\\Safari.txt") //.addUserAgentsFromFile("data\\Safari.txt")
.open(url) .open(url)
; ;
}; };