commit 00cc9cd83d5634c05524d67aa5450baf2cb73851
parent 1636706340fe43ab2ff512093230d3addbbddb9f
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Thu, 10 Nov 2016 21:56:52 +0100
Crank up timeout
I did count how long my pc needs to get to 90% and it were about 30sec.
Diffstat:
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: 10000, // optional
+ timeout: 25000, // optional
check: function () {
return page.evaluate(function() {
if (document.querySelector('#percent_text').textContent == "90") {