mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 21:26:04 +00:00
Update chrome.js
This commit is contained in:
parent
82713e1588
commit
6e38fe1191
|
@ -1166,7 +1166,8 @@ var ChromeObject = function(interfaces) {
|
|||
};
|
||||
|
||||
this.mouseClick = function(x, y) {
|
||||
this.oAutoIt.callFunction("MouseMove", [x, y]);
|
||||
var screenPosition = this.getScreenPosition();
|
||||
this.oAutoIt.callFunction("MouseMove", [screenPosition.x + x, screenPosition.y + y]);
|
||||
this.oAutoIt.callFunction("MouseClick", ["left"]);
|
||||
};
|
||||
|
||||
|
@ -1212,6 +1213,6 @@ exports.startDebug = function(url, proxy, profileName, debuggingPort, isPreventP
|
|||
;
|
||||
};
|
||||
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.2";
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.3";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user