In puppeteer, we are opening 'https://pptr.dev/' getting CSS selector of the toolbar. After that, we are changing the background color to '#1F54C0' and making a screenshot which we are saving as 'img.png'.
node makeIMG.js
In puppeteer, we are opening 'https://pptr.dev/' and filling the input field with 'PDF'. Pressing 'Enter' and making a screenshot which we're converting to PDF named 'page.pdf'.
node makePDF.js