public function javascriptErrors() {
    $jsErrors = array();
    $errors = $this->response["error"]["args"][0];
    foreach ($errors as $error) {
      $jsErrors[] = new JSErrorItem($error["message"], $error["stack"]);
    }
    return $jsErrors;
  }
public function javascriptErrors() {
    $jsErrors = array();
    $errors = $this->response["error"]["args"][0];
    foreach ($errors as $error) {
      $jsErrors[] = new JSErrorItem($error["message"], $error["stack"]);
    }
    return $jsErrors;
  }
public function javascriptErrors ( ) { $ jsErrors = array ( ) ; $ errors = $ this -> response [ "error" ] [ "args" ] [ 0 ] ; foreach ( $ errors as $ error ) { $ jsErrors [ ] = new JSErrorItem ( $ error [ "message" ] , $ error [ "stack" ] ) ; } return $ jsErrors ; }
Get the javascript errors found during the use of the phantomjs
@return array
Get the javascript errors found during the use of the phantomjs