code: function (urlpath, log) {
      casper.then(function () {
          if (log !== false) {
              this.echo('#green{redirect:} #yellow{[' + urlpath + ']}');
          }
          casper.evaluate(function (url) {
              window.location.href = url;
          }, urlpath);
      });
  }
docs: 跳转到urlpath
  @param urlpath
  @param log