MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / download_file

Method download_file

seleniumbase/core/sb_cdp.py:1780–1785  ·  view source on GitHub ↗

Download a file from a URL. The default download location is: "./downloaded_files/".

(self, file_url)

Source from the content-addressed store, hash-verified

1778 time.sleep(float(duration))
1779
1780 def download_file(self, file_url):
1781 """Download a file from a URL.
1782 The default download location is: "./downloaded_files/"."""
1783 self.loop.run_until_complete(
1784 self.page.download_file(file_url)
1785 )
1786
1787 def save_file_as(self, file_url, new_file_name):
1788 """Download a file from a URL and rename it.

Callers 15

download_fileFunction · 0.45
save_file_asMethod · 0.45
bestand_downloadenMethod · 0.45
télécharger_fichierMethod · 0.45
scaricare_fileMethod · 0.45
descargar_archivoMethod · 0.45
파일_다운로드Method · 0.45
下载文件Method · 0.45
baixar_arquivoMethod · 0.45

Calls

no outgoing calls