How to download a file from LambdaTest to my local machine with Java-Selenide?

Tell me how to download a file from LambdaTest to my local machine with Java-Selenide.

Hello Charity,

To download a file from LambdaTest to my local machine with Java-Selenide, you can use the syntax below to download file content using base64 encoding:

((JavascriptExecutor) driver).executeScript("lambda-file-content=file-name.file_format");