I am using this answer to download and save webpages as a pdf.
Although the method works, it is saving the output files in a different directory.
What could I