get the status a web page

18 views
Skip to first unread message

Михаил Ситников

unread,
Apr 23, 2015, 11:26:09 AM4/23/15
to dal...@googlegroups.com
Hi all.
I need you help.I need to take the status display page.

Example pantomjs

How can I get the status the test?
My attempts:

module.exports = {
'Get status': function (test) {
var tmp;
 test
     .open('http://yandex.ru',function(status){
           this.data('aKey','status')
           }
          )
     .log.message(function(){
        return test.data(status);
      })
     .done();
     } 
};
Reply all
Reply to author
Forward
0 new messages