mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Update toolkit.js
This commit is contained in:
parent
20571742e7
commit
db1cd36608
|
@ -13,24 +13,24 @@ var ToolkitObject = function() {
|
|||
console.warn("WelsonJS.Toolkit is disabled");
|
||||
}
|
||||
};
|
||||
|
||||
this.sendClick = function(wName, x, y, retry) {
|
||||
var i = 0;
|
||||
while (i < retry) {
|
||||
this.interface.SendClick(wName, x, y);
|
||||
i++;
|
||||
|
||||
this.sendClick = function(wName, x, y, retry) {
|
||||
var i = 0;
|
||||
while (i < retry) {
|
||||
this.interface.SendClick(wName, x, y);
|
||||
i++;
|
||||
}
|
||||
};
|
||||
|
||||
this.sendKeys = function(wName, s) {
|
||||
return this.interface.SendKeys(wName, s);
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html
|
||||
|
||||
this.alert = function(message) {
|
||||
return this.interface.Alert(message);
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html
|
||||
|
||||
this.alert = function(message) {
|
||||
return this.interface.Alert(message);
|
||||
};
|
||||
|
||||
this.confirm = function(message) {
|
||||
return this.interface.Confirm(message);
|
||||
|
|
Loading…
Reference in New Issue
Block a user