code: func (remote *RemoteDebugger) SavePDF(filename string, perm os.FileMode, options ...PrintToPDFOption) error {
  	rawPDF, err := remote.PrintToPDF(options...)
  	if err != nil {
  		return err
  	}
  
  	return ioutil.WriteFile(filename, rawPDF, perm)
  }
docs: // SavePDF print current page as PDF and save to file