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

How can I download a file from LambdaTest to my local machine with JS-Protractor?

Hello Macy,

You can use the syntax below to download file content using base64 encoding with JS-Protractor:

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

For more details, please click the link: Download Files Using LambdaTest Selenium Grid | LambdaTest