How to download a file from LambdaTest to my local machine in JS-Nightwatch?

Does LambdaTest have a file for my local machine in JS-Nightwatch?

Hi Mark,

You can use the syntax below to download file content using base64 encoding:

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