From 823869b598bffd878287da34a656a0411427ae07 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sun, 26 Apr 2015 16:34:00 +0200 Subject: [PATCH] rimuovi funzione inutile crea screenshot --- scripts/agenda.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/agenda.coffee b/scripts/agenda.coffee index 05574dd..39d1659 100644 --- a/scripts/agenda.coffee +++ b/scripts/agenda.coffee @@ -53,7 +53,7 @@ downloadAgenda = (day, cb) -> .goto('https://galilei-cr-sito.registroelettronico.com/login/') .type('#username',process.env.REGISTRO_USERNAME) .type('#password',process.env.REGISTRO_PASSWORD) - .click('#btnLogin').wait().screenshot('file.png') + .click('#btnLogin').wait() if process.env.REGISTRO_ID_STUDENTE n.goto('https://galilei-cr-sito.registroelettronico.com/select-student/'+process.env.REGISTRO_ID_STUDENTE+'/') n.goto('https://galilei-cr-sito.registroelettronico.com/agenda/?d='+dayurl) @@ -76,7 +76,7 @@ getCompiti = (cb) -> n.goto('https://galilei-cr-sito.registroelettronico.com/login/') n.type('#username',process.env.REGISTRO_USERNAME) n.type('#password',process.env.REGISTRO_PASSWORD) - n.click('#btnLogin').wait().screenshot('file.png') + n.click('#btnLogin').wait() if process.env.REGISTRO_ID_STUDENTE n.goto('https://galilei-cr-sito.registroelettronico.com/select-student/'+process.env.REGISTRO_ID_STUDENTE+'/') n.goto('https://galilei-cr-sito.registroelettronico.com/tasks/')