-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handlers would only be activated after one minutes run. #21
Comments
I added some verbose output, found that the length of my code is like: #import "ui-auto-monkey/UIAutoMonkey.js"
#import "ui-auto-monkey/buttonHandler.js"
monkey = new UIAutoMonkey()
monkey.config.minutesToRun = 60 * 2;
monkey.config.checkTimeEvery = 60;
monkey.config.numberOfEvents = false;
var handlers = [ ];
handlers.push(new ButtonHandler("Back", 30, false));
monkey.config.conditionHandlers = handlers;
// Release the monkey!
monkey.RELEASE_THE_MONKEY(); |
Did you comment out the "RELEASE_THE_MONKEY() code in the orginal UIAutoMonkey.js file"? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set monkey to run in 2 hours (a.k.a 120 minuete), and I also created a ButtonHandler.
I add the logs in buttonhandler, I found that the ButtonHandler was never triggered until one minutes running.
See the first and last line in the log. the last line is the log I added in buttonhandler. that's its first appearance
The text was updated successfully, but these errors were encountered: