code: func (p *WebPage) UploadFile(selector, filename string) error {
  	return p.ref.process.doJSON("POST", "/webpage/UploadFile", map[string]interface{}{"ref": p.ref.id, "selector": selector, "filename": filename}, nil)
  }
docs: // UploadFile uploads a file to a form element specified by selector.