commit 0f6b5e20981f442640967f85f1ee34d2156569e6 parent 24886719f892db3d9d3e9df912585307017288d9 Author: Marcel <MTRNord@users.noreply.github.com> Date: Sun, 13 Nov 2016 03:26:25 +0100 Fix selector Diffstat:
| M | screencap_iitc.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -141,7 +141,7 @@ function afterCookieLogin(IntelURL, search) { timeout: 120000, check: function () { return page.evaluate(function() { - if (document.querySelector('.map').text.indexOf('100') != -1) { + if (document.querySelector('.map').textContent.indexOf('done') != -1) { return true; }else{ return false;