intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 03f45cd4ca362764fa04e365e26bd07f820e4e07
parent 8e0d6bfca50ffe9701e128bf0e66915132cb1f1c
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Thu, 10 Nov 2016 21:41:16 +0100

Set timeout to 10sec because in 5sec it doesn't reach 90%
Diffstat:
Mintel_screenbot/screencap.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/intel_screenbot/screencap.js b/intel_screenbot/screencap.js @@ -78,7 +78,7 @@ function afterCookieLogin(IntelURL, search) { waitFor({ debug: false, // optional interval: 0, // optional - timeout: 5000, // optional + timeout: 10000, // optional check: function () { return page.evaluate(function() { if (document.querySelector('#percent_text').textContent == "90") {