![Avatar](https://secure.gravatar.com/avatar/53caba69d3ac18480fb9cab76d6b4039?default=https%3A%2F%2Fassets.zendesk.com%2Fhc%2Fassets%2Fdefault_avatar.png&r=g)
Hi Dominic,
Instead of
'Goto_URL command to open the PDF in Chrome by entering the following value in the URL: data:application/pdf;base64,@ngbv2PdfByteArray'
You can use a step with Execute_Javascript command with the below:
var link = document.createElement("a");
link.download = 'file_name';
link.href = 'data:application/pdf;base64,@ngvb2PdfByteArray';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
delete link;
So this Javascript step will download your pdf file to local environment
Then, you can use Goto_url and open the next url: file://path_to_the_file
It's better to generate file name on the fly using Set_Var random step, the download path can be specified in the browser options
Regards,
Subject7 Team