Skip to content

Session.setDownloadPath method

Session › setDownloadPath

Unofficial

Sets the download saving directory.

Signature:

setDownloadPath(path: string): void

Parameters:

Parameter Type Description
path string The directory to save downloads to.

Returns: void