mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update chrome.js
This commit is contained in:
parent
6e38fe1191
commit
4bc9669195
|
@ -1170,6 +1170,14 @@ var ChromeObject = function(interfaces) {
|
|||
this.oAutoIt.callFunction("MouseMove", [screenPosition.x + x, screenPosition.y + y]);
|
||||
this.oAutoIt.callFunction("MouseClick", ["left"]);
|
||||
};
|
||||
|
||||
this.mouseWheelUp = function() {
|
||||
this.oAutoIt.callFunction("MouseWheel", ["up"]);
|
||||
};
|
||||
|
||||
this.mouseWheelDown = function() {
|
||||
this.oAutoIt.callFunction("MouseWheel", ["down"]);
|
||||
};
|
||||
|
||||
this.create();
|
||||
};
|
||||
|
@ -1208,7 +1216,7 @@ exports.startDebug = function(url, proxy, profileName, debuggingPort, isPreventP
|
|||
.setIsPreventProxy(isPreventProxy)
|
||||
.addUserAgentsFromFile("data\\Chrome.txt")
|
||||
.addUserAgentsFromFile("data\\Edge.txt")
|
||||
.addUserAgentsFromFile("data\\Safari.txt")
|
||||
//.addUserAgentsFromFile("data\\Safari.txt")
|
||||
.open(url)
|
||||
;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user