Here is the code that works but it doesn\'t wait until the completion. How do I make sure the file has been saved?
var browser = await Puppeteer.LaunchAsy