   _ele.reports.fadeIn()
   _ele.logs.hide()
   _ele.mainForm.fadeOut()
+  $('#reports_accordion').accordion()
 
 #写入日志
 logWriter = (log)->

    _ele.status.empty()
    _ele.logs.fadeIn()
    _ele.logDetails.empty()
    _ele.mainForm.fadeOut();
    _socket.emit 'newTask', {runner: runner}

$().ready ()->

    reportDetails: $('#reports>.details')
  getAllBrowsers()
  submitForm()

  #点击返回
  $('#btnReturn').bind 'click', ()->
    _ele.reports.fadeOut();
    _ele.mainForm.fadeIn();

  #点击重新测试
  $('#btnRetest').bind 'click', ()->
    $('#btnTest').trigger 'click'