Skip to content

Session.setDownloadPath method

Session › setDownloadPath

Unofficial

Sets the download saving directory.

Signature:

setDownloadPath(path: string): void

Parameters:

ParameterTypeDescription
pathstringThe directory to save downloads to.

Returns: void