code: func (p *Browser) Validate() error {
  	if p == nil {
  		return ErrIncomplete
  	}
  
  	// must have both a title and body. action and url-args are optional.
  	if len(p.Alert.Title) == 0 || len(p.Alert.Body) == 0 {
  		return ErrIncomplete
  	}
  	return nil
  }
docs: // Validate browser payload.