mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-18 15:41:05 +00:00
Update toolkit.js
This commit is contained in:
parent
20571742e7
commit
db1cd36608
|
@ -14,11 +14,11 @@ var ToolkitObject = function() {
|
|||
}
|
||||
};
|
||||
|
||||
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++;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -26,11 +26,11 @@ var ToolkitObject = function() {
|
|||
return this.interface.SendKeys(wName, s);
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html
|
||||
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html
|
||||
|
||||
this.alert = function(message) {
|
||||
return this.interface.Alert(message);
|
||||
};
|
||||
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