How to download a file from LambdaTest to my local machine with JS-TestCafe?

Tell me how I can download a file from LambdaTest to my local machine with JS-TestCafe?

Hello Macy,

Use the syntax below to download file content using base64 encoding:

((Javascript_Executor) driver).execute_Script("lambda-file-content=file-name.file_format");